In javascript, reload() function is used to reload web page. The reload() method does the same as the reload button in your browser.
By default, the reload() method reloads from the cache, but by you can force the the reload to get the page from server by setting the forceGet parameter to true: location.reload(true).
example : <input type="button" onclick="location.reload()">
By default, the reload() method reloads from the cache, but by you can force the the reload to get the page from server by setting the forceGet parameter to true: location.reload(true).
example : <input type="button" onclick="location.reload()">