2014-04-03 72 views

回答

0

这是因为事件是一个对象,而不是基于索引的数组。改为使用event.keyCode

+0

非常感谢您的时间 – Slain

0

使用event.keyCode访问被按下的键。

相关问题