Redirect page after delay using Jquery

Today, We want to share with you Redirect page after delay using Jquery.In this post we will show you jquery redirect after 5 seconds with countdown, hear for Jquery Redirect to Another Page After 5 Seconds Example we will give you demo and example for implement.In this post, we will learn about Page Redirect after X seconds wait using JavaScript with an example.

Redirect page after delay using Jquery

There are the Following The simple About Redirect page after delay using Jquery Full Information With Example and source code.

As I will cover this Post with live Working example to develop javascript redirect after 5 seconds with countdown, so the redirect page after 5 seconds php for this example is following below.

Also Read :  Removing # hash from URL in AngularJS

how to redirect to another page in jquery after 5 seconds

index.html

<!DOCTYPE html>
<html>
<head>
    <title>Jquery Redirect to Another Page After 5 Seconds Example - www.pakainfo.com</title>
    <script src="http://code.jquery.com/jquery-1.9.1.js" type="text/javascript"></script>
</head>
<body> 
   
<button>Click to Web redirect Page</button>
     
<script type="text/javascript">
    
    $("button").click(function(){
        $(this).text('Loding products soon....');
    
        var livetimer = 3000; 
        var redirect_url = 'https://pakainfo.com'
        setTimeout(function(){ window.location = redirect_url; }, livetimer);
    })
    
</script>
   
</body>
</html>

Web Programming Tutorials Example with Demo

Read :

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about Redirect page after delay using Jquery.
I would like to have feedback on my infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Leave a Reply

avatar
  Subscribe  
Notify of