javascript - jQuery UI 1.6 and adding slider in Drupal -


I can not use the new version of jQuery I have 1.6.

I have ui.core, ui.slider, but when I call $ ('# min-price'). Slider (); I'm getting:

$ ("# min-price"). Slider function is not

I call it when DOM is ready.

Can anyone help?

Code added

  $ (document) .ready (function () {var wrapper = $ ('& lt; span id = " Snuper-sorter-wrapper "& gt; Sort: & lt; / span & gt; '), dealsDivCopy = $ (' View View-Rows '). Clone (true), dealsCategories = $ (' # deals-categories '), Current delals = drupal.settings.snuper_filter.deals; $ (' # min-price '). Slider (); // here // the remaining code   

how do I test Can the jquery UI object be present and get the function list?

Edit

My mistake, let me

  jquery_ui_add (array ('ui.slider'));  

In Drupal you add a jQuery element like this:

Check whether you have loaded both the Library (jQuery and jQueryUI) and also making sure Take that the path of files is correct.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -