Javascript refresh page

I have a html page with a button pop-up. If I click on this button a new window Pops-up, I do all of my changes in this window and then click the close button. The html page with the popup button should refresh after I closed the pop-up window. Is this possible?

Answers:

Answer

yes.

//reload opener...
window.opener.location.reload();
//close self...
window.close();
Answer
<body onunload="opener.location.reload(true);">
Answer
<script>function reload(){document.location = document.location}</script>

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us Javascript

©2020 All rights reserved.