ユーザがコントローラからテーブルに導入した値にアクセスしようとしています。htmlからコントローラへの値の取得
このテーブルには、モデルの一部ではなく、ビューのソースコードのようなものです:私は、コントローラからこれらの値(1234、578)を取得できますか
<table id="tableSeriales" summary="Seriales" class="servicesT" cellspacing="0" style="width: 100%">
<tr>
<td class="servHd">Seriales</td>
</tr>
<tr id="t0">
<td class="servBodL">
<input id="0" type="text" value="1234" onkeypress = "return handleKeyPress(event, this.id);"/>
<input id="1" type="text" value="578" onkeypress = "return handleKeyPress(event, this.id);"/>
.
.
.
</td>
</tr>
</table>
?それがテーブルを取得していないため、動作しませんformcollectionを受け
...ありがとうございました。
フォームコレクションは入力制御値を受信する必要がありますが、あなたはIDの番号を使用して問題がある可能性があります。 id = "control1"などを試してみてください。 – Lazarus