Examveda
Examveda

When are the keyboard events fired?

A. When user manually calls the button

B. When user clicks a key

C. When the user calls the modifier

D. All of the mentioned

Answer: Option B

Solution(By Examveda Team)

The keydown and keyup events are fired when the user presses or releases a key on the keyboard. They are generated for modifier keys, function keys, and alphanumeric keys.

Join The Discussion

Related Questions on Document Object Model and Event Handling