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="">
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="">
create a slider
<input className="newpost-rating-slider" type="range" name="rangeInput"
min="0" max="5" onChange={handleSliderRating} />
<span className="slider-rating-field">0/5</span>
const handleSliderRating = () => {
var curVal = document.querySelector('.newpost-rating-slider').value;
var sliderRatingEle = document.querySelector('.slider-rating-field');
sliderRatingEle.textContent = curVal.toString() + "/5";
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us