node

Question:- How can we redirect a page after few seconds to a new page using javascript?
Answer :- You can easily redirect a page to another url after few seconds delay by using following javascript code.

<script type=”text/javascript”>
setTimeout(function(){window.location=”https://beta.netgen.work”;}, 3000) //wait three seconds before continuing.

Hope this helps you with your project/tasks.

Related Posts