i want to make the setTimeout dynamic...

C

chocster

this is wat i am doing...
function doRedirect()
{
if (!num)
{
timer = setTimeout("_SFSUBMIT_",1000);
num = true;
}
cleartime();

}
.....i want to kno if there is a way to make the setTimeout dynamic...in
other words how wud i load it the first time where miliseconds equal
1000 and then say 10 minutes later...cos i try to do this by adding a
counter but this does not work...cos it just carries on loading the
page...like so ...
timer = setTimeout("_SFSUBMIT_",1000*counter);
...where counter increment by 10 every time....

thank chocy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top