This topic has not yet been rated - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 3/14/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ