简体   繁体   中英

Time range slider using jquery

In above link, time range slider is perfectly working with older version of jquery, but it does not support new version of jquery. Any solution for that? And also any new plugin for select time slot using range slider in jquery.

[http://jsfiddle.net/ghusse/LJrYf/1/][1]

Thanks in advance:)

It is not problem with a version of jQuery you're using. The problem is that you need to include jQuery UI script in your app.

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.js"></script>

In your code example you checked jQuery UI, so because that it will work. Include jQuery UI on the top of the scripts and now it will work. From : http://jqueryui.com/download/ :

  • 1.12.1(Stable, for jQuery1.7+)
  • 1.11.4(Legacy, for jQuery1.6+)
  • 1.10.4(Legacy, for jQuery1.6+)
  • 1.9.2(Legacy, for jQuery1.6+)

See example: jsFiddle

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM