IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New 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..."
Collapse 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..."
Collapse 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..."
New I've made it a habit of keeping the id & name the same
In this case, I suppose I'll have to assign unique id's and continue to use the same name for the respective inputs. Didn't realize that id names need to be unique.

Thanks.
     Accessing multiple inputs with same name - (ChrisR) - (4)
         As long as I'm tapping the collective... - (ChrisR) - (1)
             Re: As long as I'm tapping the collective... - (admin)
         You can't, directly. - (admin) - (1)
             I've made it a habit of keeping the id & name the same - (ChrisR)

... should the Index Book of Everything in the Library contain a listing for
... The Index Book?
... which is also in the Library.
... or would that belong in the Meta-Index..
... or The List of Lists...
... or The Index of Indices....
... which Cannot be placed In The Library.....!
... (but only in the Meta-Library???)

54 ms