TypeError: $(...).slider is not a function TypeError: $(...).slider is not a function jquery jquery

TypeError: $(...).slider is not a function


Use both Jquery and ui, then it will work.

<script src="//code.jquery.com/jquery-1.10.2.js"></script><script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>


I had the same error message. In the end it turned out that my code loaded jQuery twice, including a version of jQuery that was just too old. Once I made sure that only one, recent version of jQuery was linked into my code, the error went away.

Maybe one of your servers (the IIS server) is serving up an out of date version of jQuery?

So check what version of jQuery you are using. This one works fine for me:

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js'></script>