The keyCode attribute retrieves the ASCII key code if a key was pressed when the event occurred.
Syntax
event.keyCode
Possible Values
This attribute is a read-only Number (long).
See Also