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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

netscape 4 problem

Status
Not open for further replies.

aperfectcircle

Programmer
Apr 3, 2001
290
US
In order to use absolute positioning I have a <select> within a <div>. Before this I referenced the <select> options with:
document.formname.selectname.selectedIndex == x

But that won't work now in Netscape 4.
What should I put now that it's in a <div>? Or am I just SOL?

Thanks
 
I don't know if this will help or not, and you may have already tried it, but maybe try adding a name attribute to the division and using the division name in the reference.

I know netscape really starts chocking when working with division. All kinds of anomalies start showing up. An alternative might be to use the 'array' syntax something like:

document.form[1].element[3].value

I am sure the above is correct - it may be forms with an s or elements with an s. But sometimes I have worked around netscape using this methodology.

-KJB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top