[thelist] NS6 radio buttons bug

Scott Dexter sgd at ti3.com
Tue Mar 27 17:50:21 CST 2001


> event, simply taking the last value in the radio button collection (or
> array) won't work: the script will return the two values in 
> the order in
> which they appear in the collection, rather than the order in 
> which they
> were clicked. So, if you click 1 and then 2, you will get 1 
> then 2; but if
> you click 2 and then 1, you will still get 1 then 2.
>     To get around this, you should simply grab the value of 
> the radio button
> that was just clicked. At least, this is what my quick tests show.
> 

James, do you have the code the article is using to create their 'bug?'
--That dern msnbc article don't (that I could find in scan-reading the
article)

cause depending on the method(s) used to retreive the value, there's a part
of me that thinks the above makes perfect sense (there's the array of
values, and then then there's the selectedIndex value) and it may not be a
bug after all. Or am I whacked and/or offbase?

The JS engine is supposed to be ECMA compliant, do ya know if this behavior
is against it?

(gonna take a small look-see, but I admit I'm asking you to do my homework)
sgd




More information about the thelist mailing list