There were a few errors in your jsFiddle. There were several syntax errors, as well as an additional click handler defined for the Finish button.
<input class="ui-hidden-accessible" data-track-theme="b" data-theme="a" type="range" name="slider1" id="slider1" value="50" min="0" max="100" animate="true" /> <br/> <br> <input class="ui-hidden-accessible" data-track-theme="b" data-theme="a" type="range" name="slider2" id="slider2" value="50" min="0" max="100" animate="true" /> <br/> <input type="button" data-theme="a" id="go-back" value="Done" ></input>
Then in JS you were missing the closing bracket and semicolon at the very end, as well as calling .refresh() instead of .slider("refresh")
$('#go-back').click(function () { debugger; $("#slider1").val(50).slider("refresh"); });
Check out the updated script for a working sample.
http://jsfiddle.net/yXXVr/2/
source share