Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Sets or retrieves the Unicode key code associated with the key that caused the event.
Syntax
HTML N/A Scripting event.keyCode [ = sKeyCode ]
Possible Values
sKeyCode String containing the Unicode key code. The property is read/write with no default value.
Remarks
The property is intended to be used with the onkeydown, onkeyup, and onkeypress events.
The property's value is 0 if no key caused the event.
Applies To
HTML N/A Scripting event
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.