SearedIce
01-18-2003, 02:32 PM
i have two setTimeout's line after line and it doesn't seem to do the second setTimeout...how can i solve this?
|
Click to See Complete Forum and Search --> : settimeouts SearedIce 01-18-2003, 02:32 PM i have two setTimeout's line after line and it doesn't seem to do the second setTimeout...how can i solve this? khalidali63 01-18-2003, 02:34 PM for that you might want to post your code here,so that one can analye the logic. Khalid SearedIce 01-18-2003, 02:36 PM setTimeout("document.write('hi')","2000"); setTimeout("popups()","10000"); SearedIce 01-18-2003, 07:41 PM wow...you're right i feel like an idiot now that i didn't realize that... the reason i have it document.write is just something random so that it will pause for two seconds what should i use instead...or how can i just make it pause for two or more seconds? SearedIce 01-19-2003, 01:57 PM if you will see my other post (both on the same javascript i'm working on): http://forums.webdeveloper.com/showthread.php?s=&threadid=2582 i just want it to wait two seconds (or more) before running the for loop that closes the windows ~John webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |