DekGenius.com
Team LiB   Previous Section   Next Section
Window.clearTimeout( ) cancel deferred execution

Availability

JavaScript 1.0

Synopsis

window.clearTimeout(timeoutId)

Arguments

timeoutId

A value returned by setTimeout( ) that identifies the timeout to be canceled.

Description

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.

See Also

Window.setTimeout( )

    Team LiB   Previous Section   Next Section