How to find the key code for a specific key - Stack Overflow 15 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 want to try and find the key codes for special keys on a mobile device with a web browser, so an online tool would be great
javascript - . keyCode vs. . which - Stack Overflow The Home key has a keyCode of 36 on my PC in Firefox, which is the character code for "$", which would make it impossible to distinguish between the user pressing the Home key and the user typing a $ character using event which || event keyCode
keyCode values for numeric keypad? - Stack Overflow They (e keyCode) are different for keyup and keydown because these events are related to the physical keys and those keys are different If you use e which from keypress, you'll get the same values for both keys
Keycodes for javascript - Stack Overflow 2 The keycode for a is 97 and for A is 65 They are different for lowercase and uppercase letters You can try it in the snippet