1
Reply

Why document.ready function is used in jQuery ?

Anil Kumar

Anil Kumar

Nov 24, 2012
3.2k
0

    It prevents the execution of codes written inside it until the DOM is ready/loaded. Thus it ensures the availability of referred elements.

    Anil Kumar
    November 24, 2012
    0