Redirecting page after 5 seconds?

B

Ben Fidge

How do I get a page to redirect to another after a set time period? I've
seen JavaScript code that will redirect to a given URL after 5 seconds bu am
unsure how to embed this into an ASP.NET page. I'd like to display a message
to the user and then jump to another page after 5 seconds.

Kind regards

Ben
 
M

Mark Rae

How do I get a page to redirect to another after a set time period? I've
seen JavaScript code that will redirect to a given URL after 5 seconds bu am
unsure how to embed this into an ASP.NET page. I'd like to display a message
to the user and then jump to another page after 5 seconds.

ASP.NET will run client-side JavaScript unmodified. Just include it on your
page and refer to is just as it was in a plain old HTML page.
 

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

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top