Generate a jQuery UI Slider using Data from a Select Element
Posted on August 22, 2009, Filled under JQuery,
Bookmark it
Thanks for visiting our website! We regularly publish posts like this one. If you are interested in receiving the latest updates as soon as they are posted, please consider subscribing to the RSS feed or to our e-mail newsletter.
jQuery UI selectToUISlider Plugin uses progressive enhancement to replace an already-functional HTML select element with a JQuery UI Slider control. Having both ARIA and tabindex support, it adds a number of features for both visual users and those on assistive technologies. The user is able to make a choice even with JavaScript disabled, since the select element can be used if the slider is unavailable.
Basic Usage
HTML
<select name="speed" id="speed"> <option value="Slower">Slower</option> <option value="Slow">Slow</option> <option value="Med" selected="selected">Med</option> <option value="Fast">Fast</option> <option value="Faster">Faster</option> </select>
JavaScript
$('select').selectToUISlider();
Features include:
- Unobtrusive
- Very easy to setup
- Accessible to users on assistive devices
- Degrades gracefully if JavaScript is disabled
The plugin enhances the jQuery UI slider in many ways, adding text labels and ticks on the slider axis, and tooltips that appear while a slider is being used.
Do you wish to receive the latest updates as soon as they are posted? Get our RSS Feed or Subscribe to the Newsletter!
- August 22, 2009
- article by Gabriel C.
- 4 comments
Sponsors
Related Posts
-
Select, Traverse, Style and Animate DOM Elements: $dom .js libraryat January 18, 2010
-
Display Fixed Top/Bottom Popups with Meerkat jQuery Pluginat December 28, 2009 with 2 comments
-
jTimepicker: Set Hours and Minutes Individually with jQuery UIat October 5, 2009 with 1 comment
-
Easily display your data as Bar Graphs: jqBarGraphat February 23, 2010 with 1 comment
-
Create Accesible Charts/Graphs using Canvas and jQueryat July 9, 2009


4 Replies to "Generate a jQuery UI Slider using Data from a Select Element"
August 23, 2009 at 1:00 AM
[...] This post was Twitted by toncijukic [...]
August 24, 2009 at 1:17 AM
[...] Generate a JQuery UI Slider using Data from a Select Element http://www.bitrepository.com/generate-a-jquery-ui-slider-using-data-from-a-select-element.html – view page – cached #Bit Repository ยป Generate a JQuery UI Slider using Data from a Select Element Comments Feed Bit Repository PHP: How to redirect a visitor A JQuery Unobtrusive Time Picker Plugin: jquery.timepickr Bit Repository Community News RSS Feed — From the page [...]
August 25, 2009 at 6:52 PM
[...] This post was Twitted by hkitago [...]
August 25, 2009 at 11:08 PM
[...] jQuery based slider that uses data from a select element. – Link. [...]