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