M

Mr. Dubey • 65.25K Points
Coach

Q. Which event is triggered sooner when the document and its elements are ready to manipulate?

  • (A) DOMContentLoaded
  • (B) readystatechange
  • (C) Both DOMContentLoaded & readystatechange
  • (D) None of the mentioned

Explanation by: Mr. Dubey
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.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics