luciddream, Thanks for replying but that doesn't work either.
jaredn, I say it doesn't work because when I put an
alert statement after assigning, nothing is displayed.
I have:
var pframe = eval('parent.FRAMEP1.document');
alert(pframe);
var pTop = eval('parent.FORM104TOP.RC104TOP');
alert(pTop);
When it passes through the first alert, it gives me aa alert message [object HTMLDOCUMENT]. But it does not give any alert message for the second alert statement.
you probably should take the form out of the frameset. Why dont you put it inside a hidden frame? i think that would fix your problems.... jared@aauser.com
I had it like that and it worked fine in Netscape4 but now it doesn't work in Netscape6. Does anybody know what can be done to make this work? Thanks for your help!
it's not a reference if it worked in ns4 : it allows anything
in the BODY of a frameset page only the <frameset>...</frameset> part (and maybe the <noframe>...</noframe>) is read, any other tag are irrelevant and it's normal they are not displayed/known in a correct browser
jaredn's solution is the proper way
The above worked fine. But I am seeing other problems. To solve those, I will have to load P1_DUMMY.html first and then P1_104.html. This is not happening right now.
Could you tell me if I could do that and if so how?
Thankyou so much for your help.
you can make any script in p1dummy wait for the document object of the other frame to load before doing anything. this will only work in IE as far as I know. try querying the readystate property using the onreadystatechange event:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.