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

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -