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);
For those who google it now, like I am
$('input').on('keydown', function(e) { console.log(e.key); });
You can detect all key values like this:
Here is working jsFiddle example.
$('textarea').keydown(function(e) { var order = e.which; console.log(order); });
Source.