Let’s say you have an HTML link such as:
<a class="reset" href="#">Refresh Page</a>
Adding the following jQuery script will reload the current page when clicked:
<a class="reset" href="/current-page/">Refresh Page</a>
/current-page/is the relative URI of the current page. Thus, the jQuery reload technique is useful in scenarios where the page URL is not known at page load. For example, when redirecting to auser-submitted post.