parent.html
<a href="#" onclick='window.open("child.html","_blank","height=100,width=100, status=yes,toolbar=no,menubar=no,location=no");return false'>pop up</a>
child.html
<p>child window</p> <script> window.onload = function(){ window.opener.location.reload(true); window.close(); }(); </script>
erickb
source share