MCQ PracticeSingle Best AnswerTopic: Javascript DOM & Event Handling MCQ
Q
Which of the following properties describes the entered text string?
Question ID
#5166
Subchapter
Javascript DOM & Event Handling MCQ
Action
Choose one option below
Choose Your Answer
Click an option to check whether your answer is correct.
A
message
✔✖
B
data
✔✖
C
string
✔✖
D
text ✔✖
B
Correct Answer: B
Explanation
The text string that was typed is specified in the data attribute of a textinput event handler.
The user-entertained data is manipulated using this data characteristic.