Go Back   Forums > Community Chatterbox > Tech Corner > Programming
Memberlist Forum Rules Today's Posts
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 12-02-2006, 03:28 AM   #11
plix
Game freak

 
Join Date: Oct 2005
Location: ,
Posts: 113
Default

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().
plix is offline                         Send a private message to plix
Reply With Quote
Old 12-02-2006, 09:25 AM   #12
swiss
who's not Swiss
 
swiss's Avatar

 
Join Date: Jun 2005
Location: Velen, Germany
Posts: 711
Default

they just have names and values - but no ID I fear ....
swiss is offline                         Send a private message to swiss
Reply With Quote
Old 12-02-2006, 10:57 AM   #13
Mara
Abandonia nerd

 
Join Date: Jan 2006
Location: ,
Posts: 93
Default

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.
Mara is offline                         Send a private message to Mara
Reply With Quote
Reply


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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 05:10 AM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.