August 1999
Intermediate to advanced
1488 pages
72h 53m
English
window.setInterval(expression, milliseconds) window.setInterval(function, milliseconds) window.setInterval(function, milliseconds, arg1, …, argN)
The setInterval() method of the Window object sets an interval to invoke the expression or function that is passed to the method. The expression or function is invoked after every elapse of the milliseconds passed. As shown in the syntax definition, it is possible to pass arguments to the function you want to invoke. This interval can be cleared by using the clearInterval() method.
Listing 7.583 sets an interval in the <head> of the document that displays the current time in a text box on the page. The ...
Read now
Unlock full access