标签: javascript
我假设用户没有鼠标(或任何指针设备)。只有一个键盘。
答案 0 :(得分:2)
使用keydown
keydown
例如:
if(event.keyCode === 9) { //tab //do something }