Which property is used to specify the key type when pressed?

Which property is used to specify the key type when pressed? Correct Answer keyCode

The keyCode property returns the Unicode character code of the key that triggered the onkeypress event, or the Unicode key code of the key that triggered the onkeydown or onkeyup event. The event object associated with these events has a numeric keyCode property that specifies which key was pressed.

Related Questions

Which of the following steps detects the key in a 4*4 keyboard matrix about the key that is being pressed?
When a key is pressed, the debounce circuit waits for 2 keyboard scans and then checks whether the key is still depressed in