javascript change query parameter without reloading code example
Example: javascript change query parameter without reloading
window.history.pushState('', 'New Page Title', '/new-url.php');
window.history.pushState('', 'New Page Title', '/new-url.php');