摘要:
本文出自:http://hi.baidu.com/810472096/blog/item/4b824aeb73735fced439c977.html点击键盘的回车键,进行登录function keydown(e) { var currKey=0,e=e||event; if(e.keyCode==13){ var form=document.getElementById("loginForm"); //表单id form.action="login.action"; form.submit(); } } document.onkeydown=keydow 阅读全文