I’ve implemented the jQuery slider UI in the page below but it doesn’t seem to be initialising.
I loaded it up in Firebug and I got the following error:
$("#slider-range").slider is not a function
[Break On This Error]
slide: function( event, ui ) {
You have not included the JQuery UI Library. Only included the
jQueryis not enough.You can use CDN to include the UI library.
JQuery CDN:
Google CDN:
Include one of those, or, even better, read this Getting Started Docs.
UPDATES
You have to include the CSS files, to properly view the UI elements. Include the following CSS file
See your slider in action here