Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript change url

var url =  window.location.origin + '/foo/foo.php';
history.pushState({}, null, url);
 
PREVIOUS NEXT
Tagged: #javascript #change #url
ADD COMMENT
Topic
Name
4+7 =