Close current window and Reload parent window

Close current window and Reload parent window::

<script type="text/javascript">

window.close();       window.opener.location.reload();

</script>

This script works only if the new window is opened in new tab by clicking parent window.Mainly used for popups.

Leave a Reply

Your email address will not be published. Required fields are marked *