Event.charCode (Property)

The character code of a key that was pressed to trigger the event relating to this object.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:String primitive
JavaScript syntax:IEmyEvent.charCode

Events may be triggered by keystrokes. This property provides a means of determining which key was pressed.

Note that this is a character code property so it is a character value mapped to a keyboard key and therefore should take account of internalization.