JQuery Programmer Question:

How to binds a function to be executed whenever the DOM is ready to be traversed and manipulated using jQuery?

JQuery Programmer Interview Question
JQuery Programmer Interview Question

Answer:

The ready(fn) function binds a function to be executed whenever the DOM is ready to be traversed and manipulated.


Previous QuestionNext Question
How to check if event.stopPropagation() was ever called on this event object?Explain width() vs css('width')?