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; | ||
+ | alert(iframeDocument); | ||
if (iframeDocument) { | if (iframeDocument) { | ||
iframeContent = iframeDocument.getElementById('frameBody'); | iframeContent = iframeDocument.getElementById('frameBody'); |
Revision as of 15:38, 20 August 2016