Menu

JavaScript Keyboard Codes

Type any key
S
Keycode: 83

event.keyCode *

This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes

event.location

The KeyboardEvent.location read-only property returns an unsigned long representing the location of the key on the keyboard or other input device.