A Key Code Checker for DOM Keyboard Events
Posted by: Rick Strahls WebLog,
on 08 Dec 2011 |
View original | Bookmarked: 0 time(s)
If you've ever written some code that needs to deal with individual keystrokes entered and to 'translate' or parse them, you've probably figured out that while on the surface it all looks pretty easy with DOM event processing, it's actually quite tricky to get accurate key information. There are several keyboard event properties available and - even with jQuery - various browsers handle these event properties slightly differently. In fact, I realized that almost every time I run into a problem with...