js键盘事件的keyCode_javascript技巧
程序员文章站
2022-03-25 10:43:52
...
document.onkeyup = function(event){ var event = event || window.event; alert(event.keyCode); }
document.onkeyup = function(event){ var event = event || window.event; alert(event.keyCode); }