The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
keyCode property
Sets or retrieves the Unicode key code associated with the key that caused the event.
Syntax
| JavaScript | |
|---|
Property values
Type: Integer
the Unicode key code.
Remarks
The property is used with the onkeydown, onkeyup, and onkeypress events.
The property's value is 0 if no key caused the event.
See also
Show: