Refresh the Parent Page after Closing PopUp Page (window)

Posted by Venkat | Labels: ,

Good Day to all

And also I wish you a Very Happy FriendShip Day..

Now we have to discuss the How to Refresh the parent window by Closing the popup window

Passing the function on your button ie: place Close button on you popup If you click the Close Button , it will close the popup and refresh the parent page.


<script>
function refreshParent() {
window.opener.location.href = window.opener.location.href;

if (window.opener.progressWindow)

{
window.opener.progressWindow.close()
}
window.close();

}
</script>

PayOffers.in