i have 3 div's
<div id="slider-range1" class="slider-range"></div>
<div id="slider-range2" class="slider-range"></div>
<div id="slider-range3" class="slider-range"></div>
i have added the slider to these div's using class reference
$(function() {
$(".slider-range").slider({
range: true,
min: 0,
max: 100,
slide: function(event, ui) {
}
});
});
the ranges of each sliders are different. I want to add that dynamically
I tried
$("#slider-range1").slider('option','values',[1, 100]);
but it is not working :(