Keyboard shortcuts made easy
As a creator of business applications, I always need to be cognizant of how a user interacts with my applications, and even more so when the application is being ported from an older version. In the world of browser development, matching the keyboard shortcuts that users have come to rely on in window based apps was always tricky, with each browser being a touch different on what codes they return.
Just like every other browser development challenge, someone wrote a javascript library. This library, from the OpenJS site, makes javascript keyboard shortcuts as easy as this:
shortcut(”Ctrl+Shift+X”,function() {
alert(”Hi there!”);
});