document.write('
答案:AB
解析:
(1)keydown()。 keydown 事件会在按下键盘时触发。
(2)keypress()。 keypress 事件会在敲击按键时触发 , 我们可以理解为按下并抬起同一个按键。