setInterval()

This method is used in the scripting of continually looping tasks with delays between the execution of instructions. It will invoke the expression after a delay of the value in the msecs field. The syntax and options are below. It should be noted that Netscape and Internet Explorer differ slightly in thier implementations of this method. IE lets you specify the expression parameter, the default being JavaScript. Netscape lets you pass any comma delimited string as the expression parameter.

expression - This value is usually a function, but can be any string. The function name and parantheses are inserted inside the paratheses for the setTimeOut expression field.
msecs - This is the time, in milliseconds, that the script waits before executing the expression.
args - This field is optional, and is used to pass a comma delimited list of parameters to the function stated by the expression.
language - This field is also optional, and is used to specify the scripting language being used in the expression.

syntax:

example

Internet Explorer:

Netscape Navigator:

window