Originally Posted by rnd me
are you sure about that always and everywhere?
i know there's got to be a reason i've been doing that stupid x.options [x.selectedIndex ] crap for years...
i'm almost certain that it won't work in IE6, but seeing as IE6 sucks and i don't have a copy of IE6, I'll concede the point.
makes me wonder how long setting the .value of a select has worked as well...
If that's the only reason, screw IE6, i'm going for the .value from now on.
No, I am not sure as there are there are a bunch of marginal browsers out there such as Konqueror and Lunescape. But it works in IE (including IE6
), FF and (I am pretty sure) Opera.
Edit: Now tested in Opera.