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