第一个页面
<html>
<title></title>
<head></head>

<body>
 <script type="text/javascript">
     window.open('second.htm');
 </script>
</body>
</html>

第二个页面
<html>
<title></title>
<head></head>

<body>
 <input type=button onclick="window.opener.location.reload()" value="刷新" />
</body>
</html>

当点击第二个页面时,第一个页面会自动刷新。

posted on 2008-07-03 16:02  朱胜  阅读(248)  评论(0编辑  收藏  举报