How to check if jQuery UI widget is loaded? -
i know can check if jquery ui core loaded jquery.ui, how check if widget (draggable) loaded, using typeof($('something').draggable) == 'function', better way this?
you can try this:
if (typeof(jquery.ui.draggable) != 'undefined'){ // ui draggable loaded }
Comments
Post a Comment