Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

BBS: referencing frames - September 12, 1998 at 23:40:25

You are here: irt.org | BBS | referencing frames [This BBS is closed]

Posted by Ryan on September 12, 1998 at 23:40:25:

Hi, I'm new to javascript and am confused about referencing frames. I have a hidden text field in a frame on the left side of my page A page containing a text box will load in the right frame. How can I fill it with the value of the hidden text field in the left frame? Below are portions of my frameset file and two other html files. The javascript in order.html is the problem.

<frameset cols="1,*">
<frame name="hidden" src="c:\download\hidden.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="no" noresize>
<frame name="order" src="c:\download\order.html" marginwidth="6" marginheight="0" scrolling="auto" frameborder="no" noresize>

<form name="hide">
<input type="hidden" name="email" value="someone@something.com">

<form name="order">
<input type="text" name="referral" value="">

<script language="javascript">
if (left.hidden.document.hide.email.value=="someone@something.com") {

Thanks for the help!

Ryan McKillen

You are here: irt.org | BBS | referencing frames [This BBS is closed]

©2018 Martin Webb