Answers for "redirecting to a page with a specific id"

50

redirect the page in javascript

window.location.href = "http://mywebsite.com/home.html";
Posted by: Guest on July-18-2019
5

javascript modify url without reloading page

window.history.pushState('', 'New Page Title', '/new-url.php');
Posted by: Guest on July-22-2019

Code answers related to "redirecting to a page with a specific id"

Code answers related to "Javascript"

Browse Popular Code Answers by Language