• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

window.setTimeout()

JavaScript1.0+, JScript1.0+ Nav2+, IE3+, Opera3+ Syntax

							window.setTimeout(expression, milliseconds)
							window.setTimeout(function, milliseconds)
							window.setTimeout(function, milliseconds, arg1, …, argN)
						

Description

The setTimeout() method of the Window object sets a timeout to invoke the expression or function that is passed to the method. The expression or function is invoked after the 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 timeout can be cleared by using the clearTimeout() method.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint