问个提交数据到iframe的问题
a.php页面代码
<form method="post" action="b.php" target="iframe_action">
<input type='submit' value='提交' />
</form>
<iframe id="iframe_action" name="iframe_action" arginheight="0" marginwidth="0" frameborder="0" width="900" height="400" scrolling="no" src=""></iframe>
把b.php提交到同一个页面的iframe里面处理,代码:
echo '<script>open("c.php");</script>';
现在提交之后想用open弹出一个新页面c.php,
但是这代码只适用于IE,可以正常弹出新的窗口来,
但是在其他内核浏览器就不行了,
不知道该怎么写这个兼容代码,
知道的朋友讲下,先谢了。