How does a user generate multiple keydown events?
A
Repeating the same process
B
Pressing multiple keys
C
Pressing the key longer than usual
D
Pressing the key multiple times
Correct Answer: Pressing the key longer than usual
If the user holds the key down long enough for it to begin repeating, there will be multiple keydown events before the keyup event arrives. Pressing the key for long time results in multiple calls to the function onkeypress.