++复制代码++ 代码如下:
$(function () {
document.onkeydown = function (event) {
var e = event || window.event || arguments.callee.caller.arguments[0];
if (e && e.keyCode == 13) {
//to do something;
}
};
});
++复制代码++ 代码如下:
$(function () {
document.onkeydown = function (event) {
var e = event || window.event || arguments.callee.caller.arguments[0];
if (e && e.keyCode == 13) {
//to do something;
}
};
});