Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Browser Incompatability

Status
Not open for further replies.

dhanas

Programmer
Feb 28, 2001
1
US
Hi
&quot;window.parent.frames.<framename>.<formname>&quot; reference works fine with IE.
but in Netscape 4.61 it recognizes only upto
window.parent.frames.<framename> as a Window Object. AS formname is added it as the reference as &quot;undefined&quot;!!

Is there any way to go about it???

I need to refer to a form in another frame to put some data and submit it also.

Thanks in advance.
 
Check your capitalization; Netscape is more case-sensitive than IE.

Try 'window.parent.frames.<framename>.forms[0]' (or forms[1], if you are referring to the second form on the page, etc... ). If there is only one form on the page you might be able to just use 'window.parent.frames.<framename>.forms'

I think you can also refer to it as 'window.parent.frames.<framename>.forms[&quot;formname&quot;]'.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top