Export (0) Print
Expand All

char property

Gets a character for a key that is pressed, if available.

Internet Explorer 9

 

Syntax

JavaScript

p = object.char

 

Property values

Type: Variant

the Unicode character of the key that is pressed, or null.

See also

KeyboardEvent
Reference
charCode
key
keyCode
which

 

 

Show:
© 2014 Microsoft