键盘事件

 

document.onkeydown=function(ev){
console.log(ev);    //KeyboardEvent

}

posted @ 2015-05-10 22:39  hello,w  阅读(112)  评论(0)    收藏  举报