[Javascript] runtime HTML for an IFRAME

Dan Costea costea.dan at ssi-schaefer.ro
Wed Jan 23 10:00:01 CST 2002


I found the answer:

 window.frames("iframeID").document.open ();
 window.frames("iframeID").document.write ("here I write my HTML code");
 window.frames("iframeID").document.close ();

thanks anyway.
  ----- Original Message ----- 
  From: Dan Costea 
  To: javascript at LaTech.edu 
  Sent: 23 January, 2002 5:22 PM
  Subject: [Javascript] runtime HTML for an IFRAME


      Hi,

  I work with IE5.5. I have an IFRAME tag. I cannot use an external HTML file. How can I load an HTML page in the IFRAME? I tried to store the HTML code of the page in a variable, but I don't know how to write this code in the IFRAME.

  regards,
  Dan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20020123/067a7b51/attachment.htm>


More information about the Javascript mailing list