When I try to set an iframe to a blank, black screen, I get an "access denied" error in IE11 and my app freezes. I don't get this error in firefox, chrome, or opera. My code is:
iframe1.src = "about:blank";
I have also tried:
src="javascript: ;"
and
src="javascript:void(0)"
I also tried creating a blank html page to use as a src, but that didn't work either.
Edit: I figured out what the problem was. In my code, I replaced:
iframe1.src = "about:blank";
with:
document.getElementById("iframe1").src = "about:blank";