js键盘事件的keyCode_javascript技巧
程序员文章站
2022-04-06 22:04:30
...
document.onkeyup = function(event){ var event = event || window.event; alert(event.keyCode); }
document.onkeyup = function(event){ var event = event || window.event; alert(event.keyCode); }