jQuery Tutorial plus Question:

Download Job Interview Questions and Answers PDF

Explain the difference between jQuery's ready and holdReady?

jQuery Interview Question
jQuery Interview Question

Answer:

jQuery's ready is an event which gets triggered automatically when DOM is ready while holdReady is a signal/flag to hold this triggering. holdReady was included in 1.6 version and it works only if used before the execution/triggering of ready event. Once ready event is fired, it has nothing to do. It is useful in dynamically loading scripts before the ready starts. It release ready event execution when used with a true parameter.

Download jQuery Interview Questions And Answers PDF

Previous QuestionNext Question
How to print some thing on console using jquery?What are the paremeter of Jquery ajax method?