Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

↑

keyCode Property

Sets or retrieves the Unicode key code associated with the key that caused the event.

Syntax

event . keyCode [ = sKeyCode ]

Possible Values

sKeyCode Integer that specifies or receives the Unicode key code.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties .

Remarks

The property is used with the onkeydown , onkeyup , and onkeypress events.

The property's value is 0 if no key caused the event.

Standards Information

There is no public standard that applies to this property.

Applies To

[ Object Name ] Platform Version
Win16:
Win32:
Windows CE:
Unix:
Mac:
 
event
Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

→→