I think it works in IE6, Firefox, and Safari (at least recent  
versions). I was surprised as well, but came across it working and  
was curious.

--Dave

On Oct 26, 2005, at 10:40 , David Dorward wrote:

> On 26/10/05, David Feldman <[EMAIL PROTECTED]> wrote:
>> This may be off-topic, for which I apologize
>
> http://css-discuss.incutio.com/?page=OffTopic
>
>>  but: In XHTML you're supposed to refer to form elements using id  
>> rather than
>>  name.
>> Suppose I have a collection of radio buttons, though. Is it  
>> acceptable to
>> give them all the same ID and then refer to them as an array using
>> document.getElementById('formID').radioID?
>
> No.
>
>> (It works...I just would like to know if it's how I'm supposed to  
>> do it.)
>
> It works? You must be using a different browser to me.
>
> --
> David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to