Solved

how to transfer values in different frames

Posted on 2006-07-05
3
225 Views
Last Modified: 2010-04-01
hi:

I am designing frame html pages now. I divided the page into two frames. One is above and one is at the bottom. I want to let the right frame use the field values in left frame. But when I use some kinds of code like: parent.frame1.form1.textfield.value=frame2.form2.textfield2.value. It will give me error like: object required "parent". I changed the "parent" to "top", it still gives me error. Please help me figure out the problem. Thanks.
0
Comment
Question by:ly_uwo
3 Comments
 
LVL 2

Accepted Solution

by:
vikrant4u2 earned 250 total points
Comment Utility

try using this

window.frames["frame1"].document.forms["form1"].textfield.value = window.frames["frame2"].document.forms["form2"].textfield.value

regards,
vikrant
0
 
LVL 19

Assisted Solution

by:actonwang
actonwang earned 250 total points
Comment Utility
>>parent.frame1.form1.textfield.value=frame2.form2.textfield2.value.

     you need to do sth like:

     window.parent.frames["frame1"].document.form1.textfield1.value =  window.parent.frames["frame2"].document.form2.textfield2.value

acton
0
 

Author Comment

by:ly_uwo
Comment Utility
already solved. still thanks for the suggestion
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now