We can refresh any page by using location object like this.
We will try to explore how different ways we can refresh page by using location object.
We can use onclick event of a button to reload the page like this.
Here is the demo
Refreshing child windowSame way we can refresh a child window ( from the parent window ) by clicking a button.
You can read more on how to refresh parent window from child window here.
This article is written by plus2net.com team.