jquery/jquery-mobile — Issue #3029: Slider isn't refreshed properly when value is set to empty string
Author: anpsince83
Created: 2011-11-11 23:49:57+00:00
State: open

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.