New JQuery Key input handling plugin
in Developing jQuery Plugins
•
11 years ago
Folk,
Key events differ widely across different browsers, and in
some cases, jQuery makes things worse by trying to make
them more uniform. For example, in Opera, a left-arrow is
indistinguishable from a single-quote, after jQuery has
"normalised" things.
When building an application that wants to simulate a text
editor, I needed a better solution. In particular, I want a
single interface that allows me to know when a keystroke
results in either a printable character or a special character,
and never to get those two confused with one another.
Ladies and Gentlemen, I present the jquery.key plugin:
http://github.com/cjheath/jquery.key
Enjoy, and if you enjoy it a lot, please throw flowers. Or
money, but I'm guessing you'll choose flowers. Pull requests
on github are also welcome.
Whomever controls the jQuery plugins list, please have at it!
Clifford Heath, Data Constellation, http://dataconstellation.com
Agile Information Management and Design
1