Vidyalelo
JavaScript · Q77

Document Object Model And Event Handling

Programming · JavaScript · question 77

Q77

Which is the alternative to the load event?

A.
readychange
B.
changestate
C.
readystatechange
Answer
D.
contentloader

Answer: Option C

Solution

Answer: Option C
Solution:
DOMContentLoaded and readystatechange are alternatives to the load event: they are triggered sooner, when the document and its elements are ready to manipulate, but before external resources are fully loaded.