Handling Keyboard Shortcuts in JavaScript
Making Keyboard Shortcuts in JavaScript is brilliant. It’s a simple function that allows you to extend keyboard shortcuts easily. And by easy, I mean easy.
shortcut(”Ctrl+Shift+X”,function() {
alert(”Hi there!”);
});
That’s an example. And I like it. Now to see this easily made into a jQuery plugin….
May 20th, 2007 at 8:24 am
Thank you for this wonderful stuff. I tried it and was very exited of this simple.