Sometimes when we are developing web applications, we would like to allow users using hotkeys to trigger some functions (e.g. Alt-d to delete a record). How can we achieve it easily? 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. And it works with Safari, Opera, Firefox and IE.
Requirements:jQuery Framework
Demo: http://jshotkeys.googlepages.com/test-static.html
License: MIT License




This is very nice, I can see myself using this for those apps where users use the app day in and out. The problem with hotkeys is if you don’t use them regularly you forget them.
This can be used without jQuery - try the base script for this plugin.
Nice, but functional keys are still working in IE as they meant to, e.g. F5 reloads a page.
RSS feed for comments on this post · TrackBack URI