js键盘事件的keyCode document onkeyup = function(event){ var event = event || window event; alert(event keyCode); } JavaScript 2022-04-10 145 点赞 2 评论 219 浏览