I made a range input element with these min and max values:
<input type='range' min='0' max='9999999' id='mySlider'>
and then tried to change its value to no avail:
// This does not work as intended, at least in Chrome.
// It wrongly moves the slider to the beginning.
slider.value = 5000000;
Moving the slider to the very right side, however, works normally:
slider.value = 9999999;
Why doesn't the first snippet of code for moving the range input work? JsFiddle Demo
This is obviously bug. so I reported that. chrome, firefox
It doesn't work in Chrome and in Firefox, but works as expected in IE11 (I still can't believe it)
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