关闭子窗口后 刷新父窗口

父页面:
  <SCRIPT>
  function test()
  {
    var returnVal=window.showModalDialog("test.htm","window","dialogHeight: 120px; dialogWidth: 400px; edge: Raised; center: Yes; help: No; resizable: yes; status: No;");
    if(!returnVal)    return;
    window.location.reload();//返回刷新

 }
            </SCRIPT>

 子页面
   <SCRIPT>           
   window.returnValue = "OK";
            window.close();
            </SCRIPT>

你可能感兴趣的:(刷新)