且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在不提交onclick的情况下将值提交给javascript

更新时间:2022-11-04 12:08:13

url.php>
< input type =textvalue =some valuename =name_input/>
< / form>

<form action="url.php"> <input type="text" value="some value" name="name_input" /> </form>

只有您可以在name_input字段中按ENTER键发送表单数据

Only you can press ENTER in "name_input" field for send the form data