<form name="myForm">
<input type="text" name="f['cart']]['product_name']"/>
</form>如何使用javascript访问文本字段的值?
发布于 2012-07-03 19:46:51
从forms集合中获取表单,然后从所述表单的elements集合中获取输入。
document.forms['myForm'].elements["f['cart']]['product_name']"]https://stackoverflow.com/questions/11310218
复制相似问题