JQuery slider tutorials?

Does anyone know of good tutorials that explain how to use jQuery Slider.

I have found several, but none of them represent what I need in clear terms. I really need to figure out how to do this: make a slider from 1.0 to 5.0 (including all tenths), and when it changes, set a hidden control based on this value.

Thanks.

+5
source share
2 answers

The documentation on jQuery is pretty good.

$('#mySlider').slider({
    min : 1,
    max : 5,
    stepping: .1,   // or, steps: 40
    change : function (e, ui) {
        $('#myHiddenInput').val(ui.value);
    }
})
+3
source

I wrote an article about using jQuery UI Slider on my site, check the link:

http://www.ryancoughlin.com/2008/11/04/using-the-jquery-ui-slider/

, ,

+1

All Articles