[Javascript] Pause execution for 2 seconds

Tim Burgan email at timburgan.com
Thu Jan 6 19:07:56 CST 2005


Hello,


I'm wondering how I can pause or hold javascript execution for 2 seconds.

I have a web page that displays a message, then after 2 seconds I want 
the window to close.

Can someone please forward me in the right direction as to where I find 
out how to do something like this.


Thanks for your time.

Tim Burgan


PS. In PHP, they have an excellent official online manual, and Java has 
their API.. does JavaScript have a similar type of documentation?





More information about the Javascript mailing list