The keyboardEvent charCode property in HTML is used to return the unicode value of a character key pressed during a keypress event. It is a read-only property. The unicode character denotes the number of a character(e.g. the unicode for “A” is 65).
Note: This property has been DEPRECATED and is no longer recommended.
Return Value: It returns a number which represents the unicode number of the pressed character.
Please Login to comment...