Export (0) Print
Expand All

clearInterval method

Cancels the interval previously started using the setInterval method.

Syntax

var retval = window.clearInterval(timerID);

Parameters

timerID [in]

Type: Integer

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

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

There are no standards that apply here.

See also

window
setInterval

 

 

Show:
© 2014 Microsoft