location.reload()
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
You can move to previous page by using Back button 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.
Subscribe to our YouTube Channel here
This article is written by plus2net.com team.
![]() | ||
| ||