How to reload parent window from child window with JavaScript?

Sometimes, we want to reload parent window from child window with JavaScript.

In this article, we’ll look at how to reload parent window from child window with JavaScript.

How to reload parent window from child window with JavaScript?

To reload parent window from child window with JavaScript, we call window.opener.location.reload.

For instance, we write

window.opener.location.reload(false);

to reload parent window from the child window.

Conclusion

To reload parent window from child window with JavaScript, we call window.opener.location.reload.