33问答网
所有问题
如何通过js提交iframe里的action,并刷新上级页面
如题所述
举报该问题
推荐答案 推荐于2016-07-07
给你的iframe标签加name属性
<iframe id="myframe" name="myframe"></frame>
主页面的中提交iframe页面里的form
window.frames["myframe"].forms["formname"].submit();
iframe页面中刷新父页面
window.parent.location.reload(true);
温馨提示:答案为网友推荐,仅供参考
当前网址:
http://33.wendadaohang.com/zd/dW400R4P4.html
相似回答
大家正在搜
相关问题
iframe中的js如何刷新父窗口中div元素
iframe怎样刷新父页面的父页面?
iframe页面提交表单后自动关闭iframe并刷新父页面
求解js 如何让iframe自动刷新,不影响父页面
js刷新父页面
javascript怎么实现 框架子页面操作功能以后刷新 框...
火狐下如何用js刷新iframe里的内容
如何用JS实现按快捷键后刷新网页中用iframe嵌入的子页面...