In JavaScript or jQuery you often need to find out which key was pressed. Unfortunately, we don't have it as easy as comparing it against a string like "esc" or "space bar". Each key on the keyboard is associated with a number, or what we call a keyCode and it is accessed on the event object.
When I do keycode listening, I always scrounge the net for the appropriate keycode to check for. No more! I've made keycode.info which does one thing well: tells you the asociated keycode and key when you tap any key on your keyboard.
Simple and easy. Hope you find it useful. Head on over or make it better on github.
Find an issue with this post? Think you could clarify, update or add something?
All my posts are available to edit on Github. Any fix, little or small, is appreciated!