0% found this document useful (0 votes)
54 views1 page

Timer Code

This JavaScript code defines a function called loadNextPage that changes the window location to NextPage.html. It then uses setTimeout to call the loadNextPage function after 60 seconds (1 minute), which will automatically redirect the user to the next page.

Uploaded by

Rakesh Dutta
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views1 page

Timer Code

This JavaScript code defines a function called loadNextPage that changes the window location to NextPage.html. It then uses setTimeout to call the loadNextPage function after 60 seconds (1 minute), which will automatically redirect the user to the next page.

Uploaded by

Rakesh Dutta
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

function loadNextPage()

{
window.location.href = 'NextPage.html';
// Any other page you wish to call
// You can also use form.submit() method here.
}
setTimeout("loadNextPage()",60*1000);

You might also like