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
D. None of the mentioned
Answer: Option C
Solution(By Examveda Team)
Event handlers allow JavaScript code to alter the behavior of windows, of documents, and of the elements that make up those documents.Related Questions on Server Side and Client Side Scripting
What are the events generated by the Node objects called?
A. generators
B. emitters
C. dispatchers
D. highevents
What is the function used to deregister event handler ‘f’?
A. deleteAllListeners(name)
B. deleteListener(name,f)
C. removerListener(name,f)
D. removeAllListeners(name)
What is the function used to remove all handlers for name events?
A. deleteAllListeners(name)
B. deleteListener(name,f)
C. removerListener(name,f)
D. removeAllListeners(name)
Join The Discussion