Javascript examples for DOM HTML Element:Input Range
Input Range stepDown() Method - Decrement 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() {/*w ww .j a v a2 s. c o m*/ document.getElementById("myRange").stepDown(); } </script> </body> </html>