输入完成后用<%response.redirect "主页"%>

解决方案 »

  1.   

    可不可以不用asp这类服务器程序呢!?
      

  2.   

    <script>
    <!--
    window.close();//关闭弹出页面后
    window.opener.location="主页面";//主页自动更新
    //-->
    </script>
      

  3.   

    <body onunload="javascript:whatIWantToDo()"><script>
    <!--
    function whatIWantToDo(){
    window.opener.location="主页面";//主页自动更新
    }
    //-->
    </script>
      

  4.   

    弹出页
    <script>
    function window.onbeforeunload()
    {
    if(event.clientX>document.body.clientWidth&&event.clientY<0||event.altKey)
    {
    //window.event.returnValue="确定要退出本页吗?";
                      window.opener.reload();
    }else
    {
    //alert("你在刷新");
    }
    }
    </script>
      

  5.   

    你用一个按钮:
    <input type="button" value="关闭" onclick="window.close();self.opener.document.location.reload()">就可以了
      

  6.   

    open.htm
    <script>
    function customer(){
    opener.location.reload();
    window.colose;
    }
    </script>