Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

keyboard event bind shortcut hotkey


HotKeys

HotKeys is a keyboard hooker plug-in.

May you find this useful in cases of:
  • Powering your Ajax applications with keyboard short-cuts such as Ctrl+x, Alt+y, Shift+z, etc.
  • Games development with Javascript + jQuery

HotKeys lets you easily add and remove handlers for keyboard events anywhere in your code supporting almost *any* keys combination.
It takes a single line of code to bind or unbind a hot key.

Binding 'Ctrl+c'

$(document).bind('keydown', 'Ctrl+c', fn);

Unbinding 'Ctrl+c'

$(document).unbind('keydown', 'Ctrl+c', fn);

Live demo at: http://jshotkeys.googlepages.com/test-static-01.html

Update:New Version (0.7) Available at: http://code.google.com/p/js-hotkeys/downloads/list