Answers for "change url without changing page in js"

5

javascript change url without reload

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

java script change url without reload

window.history.replaceState({}, '','/dashboard');
Posted by: Guest on October-09-2020

Code answers related to "change url without changing page in js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language