jquery回车提交表单
用jquery实现:
<body onkeyup="autosubmit()">//添加监听事件function autosubmit(){//事件触发函数 if(event.keyCode==13){ document.form.submit(); } }
?