Decrement the value of a time field by 10 minutes:
The stepDown() method decrements the value of the time field by a specified number.
This method will only have an affect on MINUTES (not hours, seconds or milliseconds).
Tip: To increment the value, use the stepUp() method.
The stepDown() method is supported in all major browsers, except Internet Explorer.
Note: In Safari, you must enter a time in the time field before you can decrement the minutes.
Note: <input> elements with type="time" are not supported in
Internet Explorer or Firefox.
Parameter | Description |
---|---|
number | Required. Specifies the amount of minutes the time field should
decrease. If omitted, the minutes are decremented by "1" |
Return Value: | No return value |
---|
Decrement the minutes by 1 (default):