A jQuery event for capturing key strokes and combo keys
http://boedesign.com/blog/2009/12/30/keystrokes-for-jquery/
- Made it compatible with jQuery 1.4.2 (now it does not work with versions lower than 1.4.2... sorry!)
- Automatically does not detect keyup/keydown events on inputs/textarea (unless you bind it directly to the input and are focused on it)
- Removed global.captureInputFields as a result ^
- Added "teardown" method to clean up data on the bound element.
- Using jQuery 1.4.1 from Google CDN in the example.
- Added default global setting to ignore key capturing when you're on an input/textarea element.
- Added a new method to the data stack called 'customValidation'.
- Fixed bug: when you typed 'n' it matched 'enter', 'arrow down' and other reserved keywords.
- Launched!