js-检测键盘的回车键keyCode = 13,
-键盘的对象event
var event = window.event || arguments.callee.caller.arguments[0];
if(event.keyCode == 13){
login();
}
转载于:https://www.cnblogs.com/alisonGavin/p/7832014.html
js-检测键盘的回车键keyCode = 13,
-键盘的对象event
var event = window.event || arguments.callee.caller.arguments[0];
if(event.keyCode == 13){
login();
}
转载于:https://www.cnblogs.com/alisonGavin/p/7832014.html