Does anybody know a proper, cross-browser way to "empty" an IFrame? Is "about:blank" recognized without error across all browsers? Is it valid to give an IFrame an empty src?
+1
A:
How about
src="javascript: ;"
or
src="javascript:void(0)"
This should work fine with IE and Firefox
marcgg
2009-11-06 17:52:31
Good idea. Thanks.
Pekka
2009-11-06 17:56:38
you're welcome .
marcgg
2009-11-06 17:57:11