手机
当前位置:查字典教程网 >网页设计 >XHTML >iframe如何刷新的三种实现方案
iframe如何刷新的三种实现方案
摘要:方案一:用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">

【iframe如何刷新的三种实现方案】相关文章:

【HTML 元素】嵌入图像的实现方法

关于iframe的一点发现与思考

表格边框/单元格之间分隔线的隐藏实现方法

div被iframe遮住的几种情况及解决方法

Form表单提交刷新页面不跳转源码设计

iframe去边框、无边框使用大全(实践经验整理)

iframe 自适应大小实现代码

Firefox下英文字母不换行的解决方案

HTML中frameset标签的使用教程

Html 元素隐藏的几种方式

精品推荐
分类导航