Answers for "input number slider with custom input"

6

html make range bar show value

<input type="range" name="rangeInput" min="0" max="100" onchange="updateTextInput(this.value);">
<input type="text" id="textInput" value="">
Posted by: Guest on May-16-2020
1

html make range bar show value

function updateTextInput(val) {
          document.getElementById('textInput').value=val; 
        }
Posted by: Guest on May-16-2020

Browse Popular Code Answers by Language