js-检测键盘的回车键keyCode = 13, -键盘的对象eventvar event = window.event || arguments.callee.caller.arguments[0];if(event.keyCode == 13){ login();}