What is the purpose of the event handlers in the JavaScript?
A
Adds innerHTML page to the code
B
Allows JavaScript code to alter the behaviour of windows
C
Performs handling of exceptions and occurrences
D
Change the server location
Correct Answer: Allows JavaScript code to alter the behaviour of windows
Event handlers allow JavaScript code to alter the behavior of windows, of documents, and of the elements that make up those documents.