window.open("1.php","aaa");
form.action = "aaa";
form.submit();

解决方案 »

  1.   

    楼上的可行?
    action值能那么设么?
      

  2.   

    1.php:<script>
    window.open("2.php","a","width=200,height=200,menubar=no");
    </script>
    <form method="post" action="2.php" target="a">
      <input type="submit" name="Submit" value="Submit">
    </form>2.php:<?php
    print_r($_FILES);
    ?>测试通过
      

  3.   

    window.open("1.php","aaa","toolbar=no,width=410,height=240");
    form.target = "aaa";
    form.submit();
      

  4.   

    多谢各位,“windowOpener("")” 改成windowOpener("")   就好了
    <form  METHOD=POST  action="<?php echo $_SERVER['PHP_SELF']?>" name="a6_6"  onSubmit=windowOpener("")   target="surveywin">
    原来
    如果只是打开一个新的页面不要onsubmit也可只要设置 target