HTML | DOM Input Range stepDown() Method Last Updated : 31 Aug, 2022 Comments Improve Suggest changes Like Article Like Report The DOM Input Range stepDown() method in HTML DOM is used to decrease the value of the slider control by the given number. Syntax: rangeObject.stepDown(number) Parameters: It accepts a single and required parameter: number: It specifies the number of slider control to be decreased. By default, it is decremented by 1. Return Value: It doesn’t return any value. Example: This example shows the working of stepDown() method: html <!DOCTYPE html> <html> <head> <title> HTML DOM Input Range stepDown() Method </title> </head> <body style="text-align:center;"> <h1>GeeksForGeeks</h1> <h2> DOM Input Range stepDown() Method </h2> <form id="myGeeks"> <input type="range" id="range_id" name="geeks" value="100"> </form> <br> <button onclick="myGeeks()"> Click Here! </button> <!-- Script to decrement the range --> <script> function myGeeks() { document.getElementById( "range_id").stepDown(3); } </script> </body> </html> Output: Before clicking on the button: After clicking on the button ( 10 times ): Supported Browsers: The browser supported by DOM input Range stepDown() method are listed below: Google Chrome 4 and aboveEdge 12 and aboveFirefox 23 and aboveOpera 11 and aboveSafari 3.1 and above Comment More infoAdvertise with us Next Article HTML | DOM Input Range stepDown() Method M manaschhabra2 Follow Improve Article Tags : Web Technologies HTML HTML-DOM Similar Reads HTML | DOM Input Range stepUp() Method The DOM Input Range stepUp() method in HTML DOM is used to increase the value of the slider control by the given number. Syntax: rangeObject.stepUp(number) Parameters: It accepts a single and required parameter: number: It specifies the number of slider control to be increased. By default, it is inc 1 min read HTML | DOM Input Month stepDown() Method The DOM Input Month stepDown() method in HTML DOM is used to decrease the value of the month field by the given number. This method will only decrease the value of months not years. Syntax: monthObject.stepDown(number) Parameters: It accepts a single and required parameter: number It specifies the n 1 min read HTML | DOM Input Date stepDown( ) Method The Input Date stepDown() method is used for decrementing the value of the date field by a specified number. It can only be used on the days and not on months and years. Syntax: inputdateObject.stepDown(number) Parameter Used: number: It is used to specify the number of days the date field should de 1 min read HTML | DOM Input Week stepDown() Method The Input Week stepDown() method in HTML DOM is used to decrease the value of the week field by the given number. This method will only decrease the value of weeks not years. Syntax: weekObject.stepDown( number ) Parameters: It accepts single parameter number which is mandatory. It specifies the num 1 min read HTML DOM Input Time stepDown() Method The Input Time stepDown() method in HTML DOM is used to decrease the value of the time field by the given number. It will only affect the number of minutes (not hours, seconds, or milliseconds). Syntax: timeObject.stepDown( number )Parameters: It accepts a single parameter and it is required. number 1 min read HTML DOM Input Number stepUp() Method The Input Number stepUp() method in HTML DOM is used to increase the value of the number field by the given value. Syntax: numberObject.stepUp( number )Parameters: It accepts a single parameter that is required: number: It specifies the number by which the number field will be increased. By default, 1 min read HTML DOM Range setEnd() Method The setEnd() method is used to set the ending position of a Range. The endNode can be used as a text node, child nodes etc. The endOffset can be the number of characters from the endNode or can be the number of child node of the endNode. Syntax: range.setEnd(endNode, endOffset); Parameters: This met 2 min read HTML | DOM Input Range step Property The DOM Input Range step Property in HTML DOM is used to set or return the value of the step attribute of the slider control. The step attribute is used to specify the size of space between two values. This attribute can be used with both min and max to create a range of values. Syntax: It returns t 2 min read HTML DOM Input Month stepUp() Method The Input Month stepUp() method in HTML DOM is used to increase the value of the month field by the given number. This method will only increase the value of months not years. Syntax: monthObject.stepUp( number )Parameters: It accepts a single parameter which is required. number It specifies the n 1 min read HTML DOM Input Week stepUp() Method The Input Week stepUp() method in HTML DOM is used to increase the value of the week field by the given number. This method will only increase the value of weeks not years. Syntax: weekObject.stepUp( number )Parameters: It accepts a single parameter number which is mandatory. It specifies the number 1 min read Like