Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
167
rated 0 times [  174] [ 7]  / answers: 1 / hits: 76797  / 15 Years ago, sun, february 14, 2010, 12:00:00

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?


More From » jquery-ui

 Answers
39
if (jQuery.ui) {
// UI loaded
}


OR



if (typeof jQuery.ui != 'undefined') {
// UI loaded
}


Should do the trick


[#97574] Thursday, February 11, 2010, 15 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tierney

Total Points: 45
Total Questions: 101
Total Answers: 94

Location: Sudan
Member since Thu, May 7, 2020
4 Years ago
;