Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I am having trouble referencing val 1

Status
Not open for further replies.

ulwitch

Programmer
Aug 24, 2001
22
0
0
I am having trouble referencing values in Frames.

<FRAMESET COLS=35%,65%>
<FRAMESET rows=30%,70%>
<FRAME NAME=LEFT src=Task6.asp frameborder=0 scrolling=no>
<FRAME Name=BottomLeft Src=Task6Bottom.asp frameborder=0>
</FRAMESET>
<FRAME NAME=RIGHT src=Task6Right.asp>
</FRAMESET>

If the following is in the Left frame, I need to read the information from the right frame.

<INPUT type=&quot;text&quot; id=text1 name=text1 value=George>

I have tried several ways including:
Parent.left.document.formname.text1.value

 
You could try
Code:
top.LEFT.formname.text1.value
or
Code:
top.LEFT.document.GetElementById(&quot;text1&quot;).value
Hope I helped / Thanks for helping
if ((x<10&&y<10) &&(((parseInt(x.toString()+y.toString())-x-y)%9)!=0)){ alert(&quot;I'm a monkey's uncle&quot;); }
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top