Answer the question
In order to leave comments, you need to log in
How to change slider position using jqury?
How to implement scripts to change the position of the type="range" slider using js in real time?
<form onsubmit="return false" onchange="level.value = flevel.valueAsNumber+'%'">
<input name="flevel" id="flying" type="range" min="0" max="100" value="10" step="1">
<output for="flying" name="level">10</output>
</form>
Answer the question
In order to leave comments, you need to log in
Your example doesn't have jQuery, and it looks like you're trying to change the output depending on the position of the slider.
If you need exactly
slider position type="range" using js in real timethen depending on what?
<form onsubmit="return false">
<input name="flevel" id="flying" type="range" min="0" max="100" value="10" step="1" oninput="form.level.value = this.value">
<output for="flying" name="level">10</output>
</form>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question