Hi there.

I have a sneeky little javascript problem for you guys. The following scrap of code does different things in Explorer 6 and Netscape 6.

chosenOne = document.forms[0].city;
city = chosenOne.options[chosenOne.selectedIndex].name;

The code is located in a function which runs on an 'onchange' event handler. What it's trying to do is read the (new) value of the <Select> tag named 'city'. In explorer there's no problem, but Netscape refuses to read it.

Any idea?