<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对象