Forum Moderators: open
I have a html page with an IFrame; and the following code:
var doc = document.getElementById("iframe_id").contentDocument;
doc.body.innerHTML = htmlCode; This code is run in body's onload handler. 'htmlCode' contains some (very simple) html (it is a string, of course).
I was able to test this code only in Safari 1.3 (Mac), and it didn't work :(
BUT: I need to test it in a Safari 2.0.4. Unfortunatelly, I don't have access to it. Anyone (with Mac) can tell me if it will work?
And why the above code didn't work with Safari 1.3? Is it possible to fix it?