View Single Post
Old 01-16-2013, 02:56 PM   PM User | #4
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,035
Thanks: 197
Thanked 2,410 Times in 2,388 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
Try a longer timeout period.

Note than an alert() suspends program execution but setTimeout() does not - it just delays the execution of the function.
Look into your code with that in mind.
__________________

All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.

Last edited by Philip M; 01-16-2013 at 03:21 PM..
Philip M is offline   Reply With Quote