I have a jQuery slider on my page having min -100 and max 100 and startValue 0. I want to provide a reset button which will reset the slider value to 0.
I am not able to find any setter function to do that, how can I do this?
I have a jQuery slider on my page having min -100 and max 100 and startValue 0. I want to provide a reset button which will reset the slider value to 0.
I am not able to find any setter function to do that, how can I do this?
As i can see you can get or set the value of the slider:
$("#slider).slider('value', 0);