Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
anpsince83 opened this Issue · 1 comment

3 participants

anpsince83 Nalin Wijayasinghe John Bender
anpsince83

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 http://jquerymobile.com/demos/1.0rc2/docs/forms/slider/index.html, and put $('#slider-0').val('').slider('refresh'); into the console, run it, and you will see the slider handle does not move.

John Bender johnbender closed this in cbaa42d
Nalin Wijayasinghe

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.