Vidyalelo
JavaScript · Q97

Document Object Model And Event Handling

Programming · JavaScript · question 97

Q97

Which two events will have the generated text for key events?

A.
key and char
Answer
B.
char and text
C.
text and key
D.
key and value

Answer: Option A

Solution

Answer: Option A
Solution:
For key events that generate printable characters, key and char will be equal to the generated text.