title: Javascript keycode =/= charcode
body: <p>I'm binding on the keydown event with jQuery to allow some specific characters in a textbox. I'm trying to make my code cross browser and platform compliant. My main issue is that I can't find a way to map the received key-code to a valid char-code, especially for key code coming from the numeric pad (decimal separator, is it a comma or a period, etc.).</p>