Update: This was a bug which has been fixed by now (Chrome 18).
I have a <input type="range">
and I'm trying to set its value by jQuery. That basically doesn't do anything.
Then, I tried hiding/showing as I thought it would be a drawing problem, but to no avail did I so.
Lastly, I hid the <input>
and showed it using show(1)
, which would mean a fading-in of 1ms. This did set the value, however after doing so the <input>
isn't draggable anymore.
I made this fiddle up: http://jsfiddle.net/MhDf7/2/.
Does anybody have an idea of what's going on here? I'm using Chrome 10.
It seems to be a browser bug. The exact same thing happens when using MooTools (DEMO) or when using vanilla JavaScript (DEMO).
However, even if the display isn't updated, the form still submits the correct value.
You might want to fill a bug report... On your jsFiddle page, do the following:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With