saimisei

弹出子页面,刷新父页面

<input id=m>
<input onclick="window.showModalDialog('aaa.htm',window)" type="button" value="open">
 
aaa.htm
============
<script>
var s=window.dialogArguments
</script>
<body>
<input onclick="s.location.reload()" type=button value="reload">

s=window.dialogArguments 可以理解为接到父窗口的window对象

posted on 2008-12-17 17:00  閑雲野鶴  阅读(167)  评论(0编辑  收藏  举报

导航