What's new? | Help | Directory | Sign in
Google
js-hotkeys
Javascript jQuery plugin for hooking keyboard events
  
  
  
  
    
Show all Featured Wiki Pages:
about
Join project
Project owners:
  tzury.by, Afro.Systems

Javascript jQuery Hotkeys Plugin

Cross Browser Module (Works with Safari, Opera, Firefox and IE)

jQuery.Hotkeys plugin lets you easily add and remove handlers for keyboard events anywhere in your code supporting almost any key combination. It takes one line of code to bind/unbind a hot key combination.

Example:

Binding 'Ctrl+c'

$.hotkeys.add('Ctrl+c', function(){ alert('copy anyone?');});

Unbinding 'Ctrl+c'

$.hotkeys.remove('Ctrl+c');

Live Demo

Read More...