Catching keyboard events using Javascript
A cross-browser script to catch keyboard events in Javascript with some links for further research if you are interested.
It is possible to catch key presses in a browser using Javascript. Click below for a cross-browser script to catch keyboard events. Clicking in the first text area and press any keys on your keyboard (as if to enter text). The second textarea serves as a real-time log and shows you info about what key you pressed.
For a simpler example, also see http://www.faqts.com/knowledge_base/view.phtml/aid/11802
RECENT COMMENTS