add parameter to url without reload jquery

Solutions on MaxInterview for add parameter to url without reload jquery by the best coders in the world

showing results for - "add parameter to url without reload jquery"
Gabriele
24 Jan 2018
1var refresh = window.location.protocol + "//" + window.location.host + window.location.pathname + '?arg=1';    
2window.history.pushState({ path: refresh }, '', refresh);
3