clearInterval

HTML (DHTML)

clearInterval Method

Internet Development Index

Cancels the interval previously started using the setInterval method.

Syntax

window.clearInterval(iIntervalID)

Parameters

iIntervalID Required. Integer that specifies the interval to cancel. This value must have been previously returned by the setInterval method.

Return Value

No return value.

Standards Information

There is no public standard that applies to this method.

Applies To

window

See Also

setInterval