首页 相关文章 JS实现刷新iframe的方法

JS实现刷新iframe的方法

iframe src="1.htm" name="ifrmname" id="ifrmid"/iframe
方案一:用iframe的name属性定位

input type="button" name="Button" value="Button"onclick="document.frames('ifrmname').location.reload()"

  或

input type="button" name="Button" value="Button"onclick="document.all.ifrmname.document.location.reload()"

  方案二:用iframe的id属性定位

input type="button" name="Button" value="Button"onclick="ifrmid.windo...[ 查看全文 ]

2016-02-19 标签:

JS实现刷新iframe的方法的相关文章

手机页面
收藏网站 回到头部