What is the difference between these jQuery ready functions?

Nothing whatsoever.

This function behaves just like
$(document).ready(), in that it should
be used to wrap other $()

You can see this in the source code:

rootjQuery = jQuery(document);

...

} else if ( jQuery.isFunction( selector ) ) {
    return rootjQuery.ready( selector );
}

Leave a Comment