How can I wire an event to fire if someone presses the letter g ?(如果有人按下字母g,我如何连接事件?)
(Where is the character map for all the letters BTW?)((所有字母BTW的字符映射在哪里?))
Since this question was originally asked, John Resig (the primary author of jQuery) has forked and improved the js-hotkeys project.(由于这个问题最初被问到,John Resig(jQuery的主要作者)已经分叉并改进了js-hotkeys项目。)
http://github.com/jeresig/jquery.hotkeys(http://github.com/jeresig/jquery.hotkeys)
2.1m questions
2.1m answers
60 comments
57.0k users