Comment on Faster than jQuery(document).ready() - Wait Until ExistsComments−acangiano15ySomething like this should be built-in in jQuery.You can do $(document).ready(), why not, the admittedly syntax sugared, $("div#main").ready().−jterenzio15yI created a plugin for this type of thing a while back too:http://plugins.jquery.com/project/available−tszming15yActually you can use a plugin: http://plugins.jquery.com/plugin-tags/onavailable
Comments
Something like this should be built-in in jQuery.
You can do $(document).ready(), why not, the admittedly syntax sugared, $("div#main").ready().
I created a plugin for this type of thing a while back too:
http://plugins.jquery.com/project/available
Actually you can use a plugin: http://plugins.jquery.com/plugin-tags/onavailable