jQuery.holdReady( hold )Returns: undefined
Description: Holds or releases the execution of jQuery's ready event.
version added: 1.6jQuery.holdReady( hold )
holdType: BooleanIndicates whether the ready hold is being requested or released
<head> immediately after the jQuery script tag. Calling this method after the ready event has already fired will have no effect.
To delay the ready event, first call
$.holdReady( true ). When the ready event should be released to execute, call
$.holdReady( false ). Note that multiple holds can be put on the ready event, one for each
$.holdReady( true ) call. The ready event will not actually fire until all holds have been released with a corresponding number of
$.holdReady( false ) calls and the normal document ready conditions are met. (See
ready for more information.)
Delay the ready event until a custom plugin has loaded.