input range events jquery display number code example
Example 1: can't modify range value js
<form>
<div>
<input id="rangeInput" type="range" min="0" max="200" oninput="amount.value=rangeInput.value" />
<input id="amount" type="number" value="100" min="0" max="200" oninput="rangeInput.value=amount.value" />
</div>
</form>
Example 2: html make range bar show value
function updateTextInput(val) {
document.getElementById('textInput').value=val;
}