Cross Browser Way Of Setting IFrame To "about:blank"?
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?
Solution 1:
How about
src="javascript: ;"
or
src="javascript:void(0)"
This should work fine with IE and Firefox
Post a Comment for "Cross Browser Way Of Setting IFrame To "about:blank"?"