document.write causes the ie page to go blank?
Posted on 2012-04-12
Everthing works great, however when clicking the link in ie, the page goes blank (the fuction works though). hitting F5 brings it back, but how can I avoid the page going blank? It seems to be the document.write line below that causes this. Is there a better way to do whatever that line is doing? maybe a different command other than document.write?
document.write("<object id='theobj' classid='clsid:0389FBBA-6E36-4F5D-9B9D-C702E3807B7F'></object>");