I'm trying to debug a website, and I think that jQueryUI may not have loaded properly. How can I test if jQueryUI has loaded?
if (jQuery.ui) { // UI loaded }
OR
if (typeof jQuery.ui != 'undefined') { // UI loaded }
Should do the trick
2.1m questions
2.1m answers
60 comments
57.0k users