标签:
document.onkeydown = function (event) {
var e = event || window.event || arguments.callee.caller.arguments[0];
if (e && e.keyCode == 13 && document.activeElement.id == "seachWord") { // enter 键
search();
}
};
标签:
原文地址:http://www.cnblogs.com/change4now/p/5664986.html