javascript redirect after 5 secinds
setTimeout(function(){
window.location.href = 'https://url.com';
}, 5000);
javascript redirect after 5 secinds
setTimeout(function(){
window.location.href = 'https://url.com';
}, 5000);
javascript to redirect to another page after 5 seconds
<!DOCTYPE html>
<html>
<body>
<script>
setTimeout(function(){
window.location.href = 'https://www.tutorialspoint.com/javascript/';
}, 5000);
</script>
<p>Web page redirects after 5 seconds.</p>
</body>
</html>
javascript redirect to another page
window.location.href = "http://mywebsite.com/home.html";
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us