使用jQuery所以我submiting形式ifram这样$('.form').submit()
这里是我的iframe和HTML表单提交表单的iframe
<form id="upload_image_form" src="#" target="iframeTarget" method="post" enctype="multipart/form-data"></form>
<iframe class="iframe" src="<?=url::base()?>user/upload_image/" name="iframeTarget"></iframe>
所以,当我加载页面让我的iframe中加载正确的页面,但是当我提交我的表单iframe出于某种原因加载相同的页面我不在user/upload_image
为什么会发生这种情况,也许我的表单或iframe不正确?
天哪我好傻>。<感谢它的完美运作 – Linas
我认为iframe也需要超出窗体标签。 –
是的,它在外面 – Linas