1.

What Is Jquery.holdready() Function?

Answer»
  • By using JQUERY.holdReady() function we can hold or release the execution of jQuery’s READY event.
  • This method should be call before we run ready event.
  • To delay the ready event, we have to call jQuery.holdReady(true);
  • When we want to release the ready event then we have to call jQuery.holdReady(FALSE);
  • This function is helpful when we want to load any jQuery plugins before the execution of ready event.

For EXAMPLE

$.holdReady(true);
$.getScript("xyzplugin.js", function() {
$.holdReady(false);
});

 

For example

 



Discussion

No Comment Found