Skip to content


Slider isn't refreshed properly when value is set to empty string #3029

anpsince83 opened this Issue · 1 comment

3 participants


When you set a slider's input value to an empty string and refresh it, ie: $("#myslider").val('').slider('refresh');, the slider handle stays in place and does not move back to the beginning as you would expect.

This is easy to reproduce: go to, and put $('#slider-0').val('').slider('refresh'); into the console, run it, and you will see the slider handle does not move.

@johnbender johnbender closed this in cbaa42d

Wow. It is working. Thanks bro....I have tried in so many ways. But failed. Finally I got this and it is working nicely. Thank you very much....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.