I don\'t find how to get the value of a key pressed. I currently have
$(\'#info_price\').bind(\'keydown\',function(evt){ alert(evt.keyCode);
The key code does not directly map to the character value. Instead, you need to look at the keypress event, which provides you with a charCode property. You can then use String.fromCharCode to turn that into a string.
keypress
charCode
String.fromCharCode