Line 10: | Line 10: | ||
document.body.appendChild(ifrm); | document.body.appendChild(ifrm); | ||
var iframeDocument = ifrm .contentDocument || ifrm .contentWindow.document; | var iframeDocument = ifrm .contentDocument || ifrm .contentWindow.document; | ||
+ | if (iframeDocument) { | ||
+ | iframeContent = iframeDocument.getElementById('frameBody'); | ||
+ | } | ||
}); | }); |
Revision as of 15:34, 20 August 2016