showing results for - "js update query string without refresh"
Dante
06 Oct 2019
1if (history.pushState) {
2    var newurl = window.location.protocol + "//" + window.location.host + window.location.pathname + '?myNewUrlQuery=1';
3    window.history.pushState({path:newurl},'',newurl);
4}
5