Vidyalelo
JavaScript · Q64

Server

Programming · JavaScript · question 64

Q64

What is the purpose of the event handlers in the JavaScript?

A.
Adds innerHTML page to the code
B.
Performs handling of exceptions and occurences
C.
Allows JavaScript code to alter the behaviour of windows
Answer
D.
None of the mentioned

Answer: Option C

Solution

Answer: Option C
Solution:
Event handlers allow JavaScript code to alter the behavior of windows, of documents, and of the elements that make up those documents.