window.opener.location="2.htm"//重定向父窗口到2.htm页
window.opener.location.reload();刷新父窗口
a.html
<div><?php echo date('Y-m-d H:i:s');?></div><input type="button" name="b" id="b" value="edit" onclick="window.open('fresh_b.php', 'edit', 'height=150, width=800, top=0, left=0, toolbar=no, menubar=no, scrollbars=yes, resizable=yes,location=n o, status=no')"/>
b.html
<form action="fresh_c.php" name="f" id="f" method="post"><input type="submit" id="s" name="s" value="Submit"/></form>
c.html
<script>
window.opener.location.reload();
self.close();
</script>

