JavaScript: The Definitive Guide

25.294. Window.clearTimeout( ): cancel deferred execution

JavaScript 1.0:

25.294.1. Synopsis

window.clearTimeout(timeoutId)

25.294.1.1. Arguments

timeoutId

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

25.294.2. 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 deferred code to cancel.

25.294.3. See Also

Window.setTimeout( )

Категории