[Javascript] Ignore my last Post. This is what I need.

Andrew Gibson andyg at ihug.co.nz
Sat Feb 8 23:55:45 CST 2003


I always refer to frames by name viz

parent.frames['nyFrame'].location='text2.htm' 

----- Original Message ----- 
  From: ClydeList at cs.com 
  To: javascript at LaTech.edu 
  Sent: Sunday, February 09, 2003 5:29 PM
  Subject: [Javascript] Ignore my last Post. This is what I need.


  Here are two lines of code. You would think the second line would read back the result of the first line. But noooo. It only has eyes for the original HTML document, What causes that? 

  <script language="Javascript"> 
  parent.frames[0].location='text2.htm' 
  parent.scribula.document.write(parent.frames[0].location) 
  </script> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20030209/69485058/attachment.htm>


More information about the Javascript mailing list