I have an IFRAME that should be filled with content from JavaScript. Had the content be on the server all I had to do is:
function onIFrameFill() {
What about .innerHTML?
.innerHTML
myIframe.innerHTML = "This is some HTML text";