location.reload();
We will try to explore how different ways we can refresh page by using location object.
Refreshing page using a button
We can use onclick event of a button to reload the page like this.
<input type="button" name="btn" value="Refresh" onclick="window.location.reload();";>
Here is the demo
You can move to previous page by using Back button
<input type="button" name="btn" value="Refresh" onclick="tm.window.location.reload();tm.focus();";>
You can read more on how to refresh parent window from child window here.