Answers for "add parameter to url without reload jquery"

0

add parameter to url without reload jquery

var refresh = window.location.protocol + "//" + window.location.host + window.location.pathname + '?arg=1';    
window.history.pushState({ path: refresh }, '', refresh);
Posted by: Guest on May-16-2021

Code answers related to "add parameter to url without reload jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language