Tech Off Post

Single Post Permalink

View Thread: getting .value from javascript nodecollection?
  • User profile image

    jsampsonPC wrote:
    stevo_ wrote: Its against DOM to reference more than one element under the same ID. Not sure how you can expect browsers to consistently handle this, some may return an array of elements and other would just .. not.

    I'm not using ID's...I'm using the name attribute - just as DOM standards suggest, if I'm not mistaken.

    he was replying to zproxy.....

    the loop is the correct way AFAIK