How To Redirect To A New Page After A Delay Using Javascript

1 2 3 |
setTimeout(function() { window.location.href = "/index.html"; }, 4000); |
1 2 3 |
setTimeout(function() { window.location.href = "/index.html"; }, 4000); |
Categories: How-To's, Technology Tags: Delay, howto, href, html, javascript, JS, Location, redirect, setTimeout, Timeout, timer, tips, window.location
|
No comments
Copyright © 2005-2025 Eric Michael Stone | Random Thoughts, Whims and Fancies…. Powered by WordPress