Generate a jQuery UI Slider using Data from a Select Element
Posted on August 22, 2009, Filled under jQuery,
Bookmark it
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
Related Posts
Image Slider with Unique Transition Effects: jQuery Coin Sliderat April 7, 2010 with 1 comment
Free Stylish JQuery Image Slider Plugin: Nivo Sliderat March 24, 2010
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
Easily display your data as Bar Graphs: jqBarGraphat February 23, 2010 with 1 comment


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. [...]