Answers for "jquery reload page without parameters"

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 "jquery reload page without parameters"

Code answers related to "Javascript"

Browse Popular Code Answers by Language