重新加载父页面iframe(iframe的ID)所指向的页面
parent.【iframe的ID】.location.reload();
加载父页面iframe(iframe的ID)的src所指向的页面
parent.document.getElementById("iframe的ID").src=http://baidu.com;
parent.【iframe的ID】.location.reload();
parent.document.getElementById("iframe的ID").src=http://baidu.com;
iframe 页面刷新
尽管越来越多的人不推荐使用iframe,但有些时候我们还是无法避免要使用到iframe,例如使用了kindediter(其生成的编辑框中为一个iframe)。当你的页面使用了iframe并且需要支持ipad访问时,就不得不做一些工作了。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M