Line 14: | Line 14: | ||
function resizeIframe() { | function resizeIframe() { | ||
alert("df"); | alert("df"); | ||
− | document.removeChild(ifrm); | + | ifrm.parentNode.removeChild(frame); |
+ | //document.removeChild(ifrm); | ||
createIframe(); | createIframe(); | ||
// ifrm.style.width = window.innerWidth; | // ifrm.style.width = window.innerWidth; |
Revision as of 16:08, 20 August 2016