Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Which is the alternative to the load event?

  2. A.

     readychange

    B.

     changestate

    C.

     readystatechange

    D.

     contentloader

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    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.


Be The First To Comment