jaymc Posted November 13, 2007 Share Posted November 13, 2007 I have a webpage with a <div id="test"></div> inside the webpage is an iframe when the iframe is loaded, I want the iframe source <iframe src=test.htm></iframe> to add text to the div sitting outside of the iframe Pretty simple I'm sure, how can I call the div sitting outside of the iframe enviroment Dont worry asbout the innerHTML = 'hi' stuff, just the actually calling Link to comment https://forums.phpfreaks.com/topic/77070-solved-call-a-div-outside-of-iframe/ Share on other sites More sharing options...
jaymc Posted November 13, 2007 Author Share Posted November 13, 2007 Disregard parent.document.getElementById('test').innerHTML="My String"; Link to comment https://forums.phpfreaks.com/topic/77070-solved-call-a-div-outside-of-iframe/#findComment-390286 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.