March 22, 2012
Difficulties implementing the JQuery Ui Slider
Question by CJS
Answer by Starx
You have not included the JQuery UI Library. Only included the jQuery
is not enough.
You can use CDN to include the UI library.
-
JQuery CDN:
<script src="http://code.jquery.com/ui/1.8.18/jquery-ui.min.js" type="text/javascript"></script>
-
Google CDN:
<script src='http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js' type='text/javascript'></script>
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
http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/ui-lightness/jquery-ui.css
See your slider in action here