Closed
Bug 224089
Opened 22 years ago
Closed 22 years ago
How to submit the Frame dynamically
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: ashok_gce, Unassigned)
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Build Identifier: Mozilla 1.2a
I have a main html with frameset having two frames. Frame1 has a fixed value
for src attribute. But for the Frame2 i have to set the src attribute based on
some logic. When I click on any link/button in Frame1, the whole screen gets
refreshed and brings in new screen. Along with this new screen some new
information should be generated in the Frame2.
I am able to make the things work for IE 5.5 but not able to do the same for
Mozilla on OS/2 system.
For IE following code works:
window.parent.frames["Script"].location.replace("peINFCommon.ASP?
WCI=GenericScript&WCU?SessionKey=" + document.GenericScreen.SessionKey.value);
what should be the Mozilla equivalent for the above code?
I tried to set the SRC attribute for the Frame2 as below :
window.parent.document.getElementsByTagName("Frame")[1].src = "peINFCommon.ASP?
WCI=GenericScript&WCU?SessionKey=" + document.GenericScreen.SessionKey.value
but it brings the information on Frame2 for the first time. From then on the
information remains the same for all the pages.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•22 years ago
|
||
> For IE following code works:
That code should also work in Mozilla...
Comment 2•22 years ago
|
||
-> OS/2
(after reading the description and comment #1)
Is it correct you can´t get this code working on OS/2 with Mozilla 1.2a?
Can you please retest with Mozilla 1.5 or 1.4.1?
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.5/mozilla-os2-1.5.zip
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.4.1/contrib/
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.4.1/contrib/mozilla-os2-1.4.1-installer.exe
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.4.1/contrib/mozilla-os2-1.4.1.zip
OS: other → OS/2
Comment 3•22 years ago
|
||
what is document.GenericScreen pointing to? Do you have a testcase somewhere?
| Reporter | ||
Comment 4•22 years ago
|
||
window.parent.frames["Script"].contentWindow.location
helps to solve out my problem.It even works in version 1.2a
Thank you all for your support.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•