list.asp
...
<a window.open...>结算</a>
...
弹出窗口index.asp()
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
</head>
<FRAMESET rows="80%,20%" >
<frame src="costpay_exe.asp" name="main" 
        <frame src="../foot.asp" name="foot" scrolling="auto">
</frameset>
</frameset>
</html>操作在costpay_exe.asp中进行,当执行完costpay_exe.asp后,如何关闭index.asp,同时刷新list.asp

解决方案 »

  1.   

    得用javascriptwindow.parent.close();
      

  2.   

    <script>
    alert("刷新");
    function openNew(page){
    window.showModalDialog(page,"new","dialogWidth=300px;dialogHeight=200px;status=no");
    window.location.reload();
    }
    </script>
    <a href="javascript:openNew('index.asp')">打开</a>
      

  3.   

    楼上正解,用showModalDialog打开小窗口,而且可以从小窗口传值回来
      

  4.   

    showModalDialog可控制父窗口的对象和函数
    所以实行方式可以多样~~~