随笔 - 58  文章 - 27 评论 - 29 trackbacks - 4

第一个页面
<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 朱胜 阅读(95) 评论(0) 编辑 收藏