How to redirect a page using jQuery ?

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 .

<html>
<head>
<script>
    window.location.replace("http://abundantcode.com");
</script>
</head>
</html>