Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
473 views
in Technique[技术] by (71.8m points)

javascript - 使用jQuery的键盘快捷键(Keyboard shortcuts with jQuery)

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的字符映射在哪里?))

  ask by translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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项目。)

His version is available at:(他的版本可在:)

http://github.com/jeresig/jquery.hotkeys(http://github.com/jeresig/jquery.hotkeys)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...