Jump to content

[SOLVED] call a div outside of iframe


jaymc

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.