i have a while loop that changes the id of each input field.
print\" 2条回答 耶瑟儿~ (楼主) 2021-01-16 11:34 form.pro0.value; is used to access input with name as pro0 Try form.productitemsupdate_0.value or try using getElementById http://www.tizag.com/javascriptT/javascript-getelementbyid.php Also change your php code to print"}"; 0 讨论(0) 查看其它2个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
form.pro0.value;
is used to access input with name as pro0
pro0
Try form.productitemsupdate_0.value or
form.productitemsupdate_0.value
try using getElementById http://www.tizag.com/javascriptT/javascript-getelementbyid.php
getElementById
Also change your php code to
print"}";