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 Quote Link to comment 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"; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.