stepDown method
Decrements a range input control's value by the value given by the IHTMLInputRangeElement::step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value.
Syntax
HRESULT retVal = object.stepDown(n);
Parameters
n [in, optional]
Type: longValue to decrement the value by.
Return value
Type: HRESULT
This method can return one of these values.
S_OK
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.10.7.4
Remarks
Throws an InvalidStateError exception if the control doesn't support stepDown, if the IHTMLInputRangeElement::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. Versions earlier than Internet Explorer 10 will throw the exception as INVALID_STATE_ERR.