stepDown
Method of dom/HTMLInputElementdom/HTMLInputElement
Syntax
var object = object.stepDown(n);
Parameters
n
- Data-type
- any
Value to decrement the value by.
Return Value
Returns an object of type DOM NodeDOM Node
Type: HRESULT
This method can return one of these values.
S_OK
Notes
Remarks
Throws an INVALID_STATE_ERR exception if the control doesn’t support stepDown, if the Step attribute’s value is "any", if the current value could not be parsed, or if stepping in the given direction by the given amount would take the value out of range.
Syntax
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.10.7.4
See also
Related pages
- HTMLInputElementHTMLInputElement
- stepUpstepUp
- stepstep
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]