
Originally Posted by
Snookerman
An iframe should work, it should be something like this:
Code:
<iframe src="http://www.google.com/">Google</iframe>
If you want more help:
Please post a link to the page on your site that contains the problematic script or attach your code so we can check it out.
WOW... that was fast... 
Here is my HTML:
HTML Code:
<div name="iframe" id="iframe"></div>
<iframe id="foo" name="foo" src="http://www.w3schools.com/"></iframe>
and my Javascript is:
Code:
document.getElementById('iframe').innerHTML = frames['foo'].document.body.innerHTML
What I am trying to do is either:
1. Edit the innerHTML of the iframe...
OR
2. Get the innerHTML of the iframe and place it in the DIV. (as you see above in my JS)
So far, I've only heard that there could be a way to read the iframe's HTML,
but not on all browsers...
Thanks,
jimhap
Bookmarks