键盘事件

 

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

}

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