How do I clear the content of my IFRAME element, using javascript, without loading a blank page into it?
I can figure out to do this: iframe_element.src = \"bl
iframe_element.src = \"bl
Just get the Iframe and remove the documentElement from it. The Iframe will be blank
var frame = document.getElementById("YourFrameId"), frameDoc = frame.contentDocument || frame.contentWindow.document; frameDoc.removeChild(frameDoc.documentElement);