clearTimeout method
[This documentation is preliminary and is subject to change.]
Cancels a time-out that was set with the setTimeout method.
Syntax
var retval = window.clearTimeout(timerID);Standards information
There are no standards that apply here.
Parameters
- timerID [in]
-
Type: long
Integer that specifies the time-out setting returned by a previous call to the setTimeout method.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Build date: 3/8/2012
To use this method from a popup, both method and argument must refer to parent: e.g. parent.clearTimeout(parent.timeoutid) ... neglect to do-so, does-not cause an error, Just fails to clear.... [alt. try with(parent) clearTimeout(timeoutid)]
This requirement is so even though timeoutid's appear to be consecutive (minorly increasing) among parent and popup windows....
- 9/27/2008
- Mr. Raymond Kenneth Petry
- 11/7/2008
- Mr. Raymond Kenneth Petry