Closed
Bug 200120
Opened 21 years ago
Closed 20 years ago
parent construction don't work
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: oocs, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4a) Gecko/20030324 Phoenix/0.5 Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4a) Gecko/20030324 Phoenix/0.5 I cannot get into window parent's parent properties & method, construction parent.parent doesn't work in Mozilla, but works in Opera 7.0 and IE 5.5. I use two frame HTML files with contents like First file : ... <frameset ...> <frame name=leftframe ... src=leftframe> <frame name=rightframe ... src=rightframe> </frameset> ... And rightframe file something like this : ... <frameset ...> <frame name=top ... src=top> <frame name=middle ... src=middle> <frame name=bottom ... src=bottom> </frameset> ... In middle frame I have form and I need to submit this form onClick button in bottom frame. I used construction parent.middle.form_name.submit(), it doesn't work nor in Opera, so I changed it to parent.parent.right.middle.form_name.submit(), this works, but only in Opera, not in Mozilla. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Comment 1•21 years ago
|
||
> parent.parent.right.middle.form_name.submit()
"right"? Or "rightframe"?
In any case, this is totally the wrong component. The JS engine has no concept
of windows, frames, HTML, etc.
Assignee: rogerl → dom_bugs
Component: JavaScript Engine → DOM Level 0
QA Contact: pschwartau → ashishbhatt
Comment 2•21 years ago
|
||
Is this still an issue? If so, please attach an HTML testcase showing it....
Comment 3•20 years ago
|
||
Reporter, we have not heard from you for a very long time. If the problem still exists in/with a recent build, then include a testcase (preferably) or an url in a comment so that we can confirm the issue you see. Right now, there is very little to go on. Resolving as WORKSFORME
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•