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() {
I think you're looking for something like:
var iframeDoc = myIframe.contentWindow.document; iframeDoc.open(); iframeDoc.write('hello world'); iframeDoc.close();