How to execute next statement after a specified period?

wxdqz

New Member
How to execute next statement after a specified period? I don't think setTimeOut() can do this.

for example


for (i=1; i<10;i++)
{
document.write("******************");

/*Here, How to stop for 10 seconds to begin next cycle. */
}

Thank you!
 
Back
Top