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