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

Trang Mắm

New member
Which two events will have the generated text for key events?
A. key and char
B. char and text
C. text and key
D. key and value
 
Answer: a
Explanation: For key events that generate printable characters, key and char will be equal to the generated text. Both key and char are onkeypress event which occurs when the user presses a key (on the keyboard).
 

Tìm kiếm

Back
Top