Usage:
$.hotkeys.add('key name ', function(){Purpose to be achieved});
//The key name can be a single key or a key combination. For example: ctrl c means pressing ctrl and c at the same time.
Cancel the event of a key:
$.hotkeys .remove('key name');
For specific demonstration effects, please go to a page I specially translated. You can test special keys and key combinations yourself:
http://img. jb51.net/online/jquery_HotKeys.htmlDownload plug-in address::http://code.google.com/p/js-hotkeys/downloads/list