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 wil
For me this perfectly triggers slide event on UI Slider :
hs=$('#height_slider').slider();
hs.slider('option', 'value',h);
hs.slider('option','slide')
.call(hs,null,{ handle: $('.ui-slider-handle', hs), value: h });
Don't forget to set value by hs.slider('option', 'value',h); before the trigger. Else slider handler will not be in sync with value.
One thing to note here is that h is index/position (not value) in case you are using html select.