isChar property (event)
Returns whether the character that belongs to the current event is a key character or not.
Returns inconsistent values (always false)! Do not use this property. Check the value of the cross-browser keyCode property to determine whether a valid key was pressed.
You can find the related objects in the Supported by objects section below.
This property is read-only.
Boolean that indicates whether the character is a key character or not.
One of the following values:
|The character is not a key character.|
|The character is a key character.|
Example HTML code 1:
This example illustrates the use of the isChar property:
Did you find this example helpful?
User Contributed Comments