Javascript examples for DOM HTML Element:Input Range
Input Range stepUp() Method - Increment the value of a slider control by "1" (default):
<!DOCTYPE html> <html> <body> Points: <input type="range" id="myRange" value="60"> <button onclick="myFunction()">Test</button> <script> function myFunction() {/*from w w w . j a v a 2s .c om*/ document.getElementById("myRange").stepUp(); } </script> </body> </html>