还有一个问题, 自动跳转怎么跳出iframe?

解决方案 »

  1.   

    简单点:
    index.php:<html><body>
    <table>
    <tr><td>
    <form name=form method=post action="">
    <table>
    <tr><td><input name=1 type=text></td></tr>
    <tr><td><input name=2 type=text></td></tr>
    <tr><td><input name=sub type=submit></td></tr>
    </table></form></td><td><iframe name=right src=right.php></iframe><td>
    </tr></table>
    </body></html>
    right.php:<?
    echo $_POST['1'];
    echo "<br>";
    echo $_POST['2'];
    ?>我现在已点击提交,直接就显示right.php,并没有在index.htm的iframe里边显示
      

  2.   

    <form name=form method=post action="" target = "rightframe">