jQuery UI Slider (setting programatically)
- by jAndy
Hi Folks,
I'd like to modify the sliders on-the-fly. I tried to do so by using
$("#slider").slider("option", "values", [50,80]);
This call will set the values, but the element will not update the slider positions.
Calling
$('#slider").trigger('change');
does not help either.
Is there another/better way to modify the value AND slider position ?