首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

javascript 中contentWindow跟 frames

2012-09-14 
javascript 中contentWindow和 framescontentWindow属性是指 指定的frame或者iframe所在的window对象IE?中

javascript 中contentWindow和 frames

contentWindow属性是指 指定的frame或者iframe所在的window对象

IE?中为 frames["id"]其他为document.getElementById("id").contentWindow

contentWindow属性是指指定的frame或者iframe所在的window对象

在IE中iframe或者frame的contentWindow属性可以省略,但在Firefox中如果要对iframe对象进行编辑则

必须指定contentWindow属性。

热点排行