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
David Feldman wrote:
This may be off-topic, for which I apologize,
It is off-topic, but instead of apologizing about it, don't post it in
the first place. To everyone: if you ever find yourself tempted to
write those words in your messages, stop right there and visit this page
instead:
On 10/26/05, David Feldman <[EMAIL PROTECTED]> wrote:
> This may be off-topic, for which I apologize, 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
> This may be off-topic, for which I apologize, 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.getElement
David
As far as I know the way to handle radio buttons is to use a common name
between all of them so that they are grouped together. The each radio
button can have it's own id. The great thing about this set-up is that
you can then associate a with a radio button. This immediately
makes you
This may be off-topic, for which I apologize, 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.getElementBy