Hi all,

 I have this weird problem using iframe. I have this XUL dialog with an iframe in it. 
and some javascript to write to this iframe. if I call write on the iframe object, I 
get an assert error, but all seems fine...

 here is a cut version of the dialog:

  

    <!-- We use an iframe here to be able to use HTML tags in the free text -->
    <iframe allowevents="false" src="about:blank" id="summary" flex="1" 
class="box-inset"></iframe>


     product = parent.GetPackageManager().products.item(0);
     pDoc = document.getElementById("summary").contentDocument.open();
     // pDoc = window.frames[0].document;
     pDoc.open();
     pDoc.write("<html><body>blah!!!!</body></html>");
     pDoc.close();


     Thanks for any help..... JM

  


_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to