How to redirect page using JQuery?

Share Me
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Today now in this post i will show you how to redirect page by using JQuery. When we want to redirect page or url in our js file. When we want require to redirect page form jquery then here we can use window.location.href. By using window.location.href we can redirect url by using jquery/javascript. So, Let’s start and see the following example:

Example:

window.location.href = "https://codingspoint.com";

Read Also : Laravel Where Clause with Mysql Function Example

Thanks for read. I hope it help you. For more you can follow us onĀ facebook.

About code chef

My name is Shahriar sagor. I'm a developer. I live in Bangladesh and I love to write tutorials and tips that will help to other Developer's. I am a big fan of PHP, Javascript, JQuery, Laravel, Codeigniter, VueJS, AngularJS and Bootstrap from the early stage.

View all posts by code chef →