November 2001
Intermediate to advanced
936 pages
68h 43m
English
Window.clearTimeout( ) — cancel deferred execution
JavaScript 1.0
window.clearTimeout(timeoutId)
timeoutId
A value returned by setTimeout( ) that identifies
the timeout to be canceled.
clearTimeout( ) cancels the execution of code that
has been deferred with the setTimeout( ) method.
The timeoutId argument is a value returned
by the call to setTimeout( ) and identifies which
(of possibly more than one) block of deferred code to cancel.