12-02-2006, 03:28 AM | #11 | ||
Join Date: Oct 2005
Location: ,
Posts: 113
|
No, read it again. ID ATTRIBUTE, not the name attribute. Radio buttons are grouped by name, but all elements can optionally have an id attribute which is required to be unique. Hence the name of the DOM method being getElementById().
|
||
|
|
12-02-2006, 09:25 AM | #12 | ||
Join Date: Jun 2005
Location: Velen, Germany
Posts: 711
|
they just have names and values - but no ID I fear ....
|
||
|
|
12-02-2006, 10:57 AM | #13 | ||
Join Date: Jan 2006
Location: ,
Posts: 93
|
document.getElementsByTagName('name')
that does the trick you can add an id, not it's nessesary. but giving a name to your buton is. (see w3c ) You can't read the value without a name anyway. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Html Calendar | Nick | Programming | 2 | 15-10-2006 07:54 AM |
More Html Help | Bobbin Threadbare | Tech Corner | 29 | 14-03-2006 02:33 PM |
Html Question | Kon-Tiki | Programming | 21 | 19-02-2006 01:08 AM |
How To Use Java Vm In Windows Xp? | The Fifth Horseman | Tech Corner | 19 | 27-07-2005 10:29 PM |
Java | Kon-Tiki | Tech Corner | 50 | 13-12-2004 12:19 AM |
|
|
||
  |