Set a delay for a specific function.
SyntaxID = window.setInterval("funcName", delay)
The interval ID is used to refer to the specific interval when it needs to be cleared. The setInterval() function is commonly used to set a delay for functions that are executed again and again, such as animations.
See also window.clearInterval().
SpecificationDOM Level 0. Not part of specification.