Name
Window.clearInterval( ): stop periodically executing code â JavaScript 1.2:
Synopsis
window
.clearInterval(intervalId
)
Arguments
-
intervalId
The value returned by the corresponding call to
setInterval( )
.
Description
clearInterval( )
stops the repeated execution of code that was started by a call to
setInterval( )
.
intervalId
must be the value that was
returned by a call to setInterval(
)
.
See Also
Window.setInterval(
)
Get JavaScript: The Definitive Guide, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.