Try:
<form name="form1" method="post" action="insert.asp?up" target=_self>

解决方案 »

  1.   

    不知道这样行不,试试吧!
    <form name="form1" method="post" action="insert.asp?up" onsubmit=mm() target=frm1>
    ...
    ...
    </form>
    <iframe src='insert.asp' name=frm1 height=0 width=0></iframe>
      

  2.   

    对不起,打错了!
    去掉 onsubmit=mm()
      

  3.   

    模态窗口的新增代码
    <script>
    window.name = "myname";
    </script>模态窗口的部分代码——增加表单的target属性
        <form name="form1" method="post" action="insert.asp?up" target="mywin">
                  <table width="100%" border="0">
                    <tr> 
                      <td> <div align="right">
                          <input type="file" name="file1" size="27">
                        </div></td>
                    </tr>
                    <tr> 
                      <td><div align="center"> 
                        <input type="submit" name="Submit" value="文件上传">
                        </div></td>
                    </tr>
                  </table>
                </form>