You can't, directly.
Using the same ID ist verboten. :-)
You could use either document.getElementsByTagName("name") and then iterate the NodeList (list.item(0), list.item(1), etc.), or just get the first one by ID, then iterate the DOM from there (node.nextSibling(), etc.).
Regards,
-scott anderson
"Welcome to Rivendell, Mr. Anderson..."
Edited by
admin
April 11, 2004, 05:45:53 PM EDT
Re: Accessing multiple inputs with same name
[link|http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/html.html#ID-81598695|http://www.w3.org/TR....html#ID-81598695]
Regards,
-scott anderson
"Welcome to Rivendell, Mr. Anderson..."
Edited by
admin
April 11, 2004, 05:50:01 PM EDT
Ignore.
Replied to the wrong one.
Regards,
-scott anderson
"Welcome to Rivendell, Mr. Anderson..."