Solved

jQuery UI slider

Posted on 2014-09-04
8
223 Views
Last Modified: 2014-09-05
I am trying to get a jQuery UI slider to work on my sandbox testing webpage.

http://plnkr.co/edit/hY75mTVB1gENFeiFptOH?p=preview

What might I be missing?


gonna try this in a new plunk ...  I'm wondering if something is interfering...
0
Comment
Question by:knowlton
  • 4
  • 3
8 Comments
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 40304564
You miss jQuery, check the errors in teh console :

Clipboard04.png
0
 
LVL 5

Author Comment

by:knowlton
ID: 40304573
Looks like jQuery needs to be defined before jQuery UI    :  (
0
 
LVL 21

Expert Comment

by:Randy Poole
ID: 40304576
place your js include of jquery ABOVE your include of the jquery UI since it is dependent on it
  <head>
    <title>Sprite Animation Demo</title>
    <script data-require="jquery@*" data-semver="2.1.1" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
    <link data-require="jqueryui@*" data-semver="1.10.0" rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.0/css/smoothness/jquery-ui-1.10.0.custom.min.css" />
    <script data-require="jqueryui@*" data-semver="1.10.0" src="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.0/jquery-ui.js"></script>
  </head>

Open in new window

0
 
LVL 5

Author Closing Comment

by:knowlton
ID: 40304577
Thank you...
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 82

Expert Comment

by:leakim971
ID: 40304584
yes and please note 2.1 don't support IE8 and lower
0
 
LVL 5

Author Comment

by:knowlton
ID: 40306216
Doesn't support IE8 and lower?

I thought that was what jQuery was supposed to help do... homogenize support for JavaScript DOM manipulation and event handling across all browsers?
0
 
LVL 82

Expert Comment

by:leakim971
ID: 40306315
yes but tdo that mean it should support IE5 ? Or Nokia browser ?
They decide to create an additional branch : 2.x
The plugin is lighterfaster

the old branch 1.x still support old browser like IE8
0
 
LVL 5

Author Comment

by:knowlton
ID: 40306364
Okay...I understand better now.

Yes, by now, IE8 is pretty old.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now