May 14, 2009, 02:20 PM
bressopa[CLOSED] javascript on iframe with IE7
Hi everybody.
i had a javascript to empty an iframe on IE
document.getElementById('iframe1').src="" which worked AND now on IE7 my iframe is not empty why?
Has someone solution !
THANKS
This message has been edited. Last edited by: Kerry, May 14, 2009, 02:26 PM
Francis MarianiThis might be an Internet Explorer 7 issue. I used Google to search for 'document.getElementById internet explorer 7 iframe':
Internet Explorer 7 blocks cross-domain iframe to parent communication [RESOLVED] IE7 iframes Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
May 18, 2009, 11:05 AM
dloganThis sounds a little different from the described problem.
You should be able to control the SRC attribute of an iframe embedded on a page without an issue even with the new cross-domain issues.
Can you try the following:
document.getElementById('iframe1').src="about:blank"
That should force it to use the default, built in blank page.