Is there anyway to not only detect that the jquery UI loaded but also fire an event when it does? Right now I have code wrapped in a $(document).ready() function but sometimes the UI code errors out because the UI library did not fully load (everything is loading in the correct order). The code works 99% of the time but about 1% of the users get a javascript error related to the UI not loading.
Something like
$(document).ready(function() {
jQuery.ui.ready(function() { ....
Is anything like this possible?
Thanks.
I ran into a similar problem in the past. Use this:
Hope this helps!
You could try to load your plugin like jQuery-ui and other with getcript and hold the ready function(s) before the script is fully loaded
Keeping you ready function(s) simple