iframe如何刷新的三种实现方案_XHTML教程-查字典教程网
iframe如何刷新的三种实现方案
iframe如何刷新的三种实现方案
发布时间:2016-12-27 来源:查字典编辑
摘要:方案一:用iframe的name属性定位或方案二:用iframe的id属性定位终极方案:当iframe的src为其它网站地址(跨域操作时)

<iframe src="1.htm" name="ifrmname" id="ifrmid"></iframe>

方案一:

用iframe的name属性定位

<input type="button" name="Button" value="Button">或

<input type="button" name="Button" value="Button">

方案二:

用iframe的id属性定位

<input type="button" name="Button" value="Button">

终极方案:

当iframe的src为其它网站地址(跨域操作时)

<input type="button" name="Button" value="Button">

相关阅读
推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
  • 大家都在看
  • 小编推荐
  • 猜你喜欢
  • 最新XHTML学习
    热门XHTML学习
    网页设计子分类