Update slider.html
This commit is contained in:
parent
e147d34697
commit
47e7d8ed68
@ -98,7 +98,7 @@
|
|||||||
As seen in the example this is one of the rare occurrences where you will need to use javascript to get values from the input.
|
As seen in the example this is one of the rare occurrences where you will need to use javascript to get values from the input.
|
||||||
<br><br>
|
<br><br>
|
||||||
<input type="range" min="1" max="100" value="0" class="range-slider-rounded" id="slider">
|
<input type="range" min="1" max="100" value="0" class="range-slider-rounded" id="slider">
|
||||||
<span>Span Value: </span><span id="output">0</span>
|
<span>Slider Value: </span><span id="output">0</span>
|
||||||
<script>
|
<script>
|
||||||
var slider = document.getElementById("slider");
|
var slider = document.getElementById("slider");
|
||||||
var output = document.getElementById("output");
|
var output = document.getElementById("output");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user