What\'s the easiest way to find the keycode for a specific key press?
Are there any good online tools that just capture any key event and show the code?
I wa
Please try this.
$('input').on('keyup', function(e){ var key_code = e.which || e.keyCode; console.log(key_code ); });
For better help please follow the below link http://www.w3schools.com/jsref/event_key_keycode.asp