[ACCEPTED]-JavaScript to reload the page as GET request-refresh
Accepted answer
The best I've come up with so far is:
function reloadAsGet()
{
var loc = window.location;
window.location = loc.protocol + '//' + loc.host + loc.pathname + loc.search;
}
0
Try the following:
location.replace(location.href)
0
You can try this
location=location.href
0
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.