JavaScript input object method: stepDown()
[this page | pdf | back links]
The
stepDown() method of the JavaScript
DOM object
corresponding to the HTML <input> element
(of type datetime, datetime-local, month, number,
range, time, week)
decrements the value of the relevant field by a specified amount.
It has the following
syntax with the following parameters.
object.stepDown(x)
Parameter
|
Required / Optional
|
Description
|
x
|
Optional
|
(default is 1).
Specifies amount by which number field value is decreased
|
NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)