check if jQuery UI is loaded
26,457
Solution 1
if (typeof jQuery.ui !== 'undefined') ...
Should work.
See also this SO post.
Solution 2
Can check:
$.ui
Or get the version:
$.ui.version

Author by
vsync
Client-side web developer (since 2005) 👍 javascript 👍 html 👍 css 👍 web design http://codepen.io/vsync/ https://github.com/yairEO?tab=repositories http://www.sudokubum.com/
Updated on July 18, 2022Comments
-
vsync over 1 year
Possible Duplicate:
Testing if jQueryUI has loadedHow to check if the jQuery UI extension library to jQuery is loaded on the page?