Box
12-05-2004, 12:22 PM
Hi all
I have an HTML document with 2 frames, Frame1 and Frame2.
In Frame1, I'm trying to build a script which should
1. retrieve and process the contents of Frame2
2. display some results in Frame1
3. set options in a form contained in Frame2 and submit it
Step 2 is of course no trouble, but I have a major problem with Step 1 and Step 3 : I
need to be able to retrieve/modify the contents of Frame2 from the script in Frame1. I tried using
parent.document.getElementById("Frame2").contentDocument but it does not seem
to work.
Any help will be appreciated.
Box
I have an HTML document with 2 frames, Frame1 and Frame2.
In Frame1, I'm trying to build a script which should
1. retrieve and process the contents of Frame2
2. display some results in Frame1
3. set options in a form contained in Frame2 and submit it
Step 2 is of course no trouble, but I have a major problem with Step 1 and Step 3 : I
need to be able to retrieve/modify the contents of Frame2 from the script in Frame1. I tried using
parent.document.getElementById("Frame2").contentDocument but it does not seem
to work.
Any help will be appreciated.
Box