一个父页面嵌套两个iframe A 和iframe B ,
iframe A的页面嵌套了iframe C;
iframe B的页面嵌套了iframe D;
从iframe D的页面中,修改iframe C的src,代码如下:
parent.parent.document.all['stateAlarmCircumcircle'].contentWindow.document.all['alarmReport'].src = "../../runqian/jsp/showReport.jsp?raq=InspecotorStatistics.raq&userkey="+top.L_user.toUpperCase()+"&plant="+name;
在IE8中,偶尔弹出contentWindow.document.all['alarmReport']找不到对象。
是什么问题,望高手相救!!!
分不多~多多包涵