How to redirect a page using jQuery ?

Published on June 1, 2015 by abundantcode

Filed under JavaScript, jQuery

Last modified June 1, 2015

Print this page

rate 1 star rate 2 star rate 3 star rate 4 star rate 5 star
Your rating: none, Average: 0 (0 votes)

This article have been viewed 2088 times

If you want to redirect a page , one of the best option is to use the window.location.replace method that can demonstrate the HTTP redirect instead of any jQuery trick.

How to redirect a page using jQuery ?

Below is a sample code snippet demonstrating the redirection of a page .

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Leave a Comment


You might be Interested in these Posts

ES6: The future is now at Warrington on October 18 , 2016

JavaScript North West User Group is hosting its user group meet on the topic "ES6: The future i...

How to append an array to another in JavaScript ?

In JavaScript , you may want to append one array to another array(s) to combine their elements resul...

How to pass a function as parameter in JavaScript ?

There are times when you might want to pass a function as argument to another function in JavaScript...