hidrau
asked on
how can I create a temporizer in Javascript to redirect my page to another?
Hello Guys
I have a page and it must be open for 5 minutes and after this, it need to load another page or close it. How can I do this in javascript ou jquery?
thanks
Alex
I have a page and it must be open for 5 minutes and after this, it need to load another page or close it. How can I do this in javascript ou jquery?
thanks
Alex
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
5 * 60 * 1000 = 5 minutes
setTimeout( what2run, delay_in_Milliseconds )
setTimeout( what2run, delay_in_Milliseconds )
ASKER
Hi leakim971
is It possible to close the window unless to load another page?
is It possible to close the window unless to load another page?
no page no javascript, you can't say : run this in five minutes but for now close.
ASKER
thanks very much
You're welcome! Thanks for the points!
ASKER