私のjavascriptのコードを受け入れていない、と私は別のテキスト入力のonchangeイベントは、私は数字を入力するためのユーザーのための2つのテキスト入力を持つ
<input id="attendance_1" onchange="parseInt(document.getElementById('attendance_output').value) += parseInt(this.value);" type="text" name="attendance_1" value="" />
<input id="attendance_2" onchange="parseInt(document.getElementById('attendance_output').value) += parseInt(this.value);" type="text" name="attendance_2" value="" />
// The results of adding the two text values should go here
<input id="attendance_output" type="text" value="" />
私はエラーを取得する:
ReferenceError: invalid assignment left-hand side
[トライ](https://jsfiddle.net/q4cv6qdt/3/)この1つのメイト。 – KiRa