Tech Off Post

Single Post Permalink

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

    Ang3lFir3 wrote:
    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

    Yes I was, sorry I have the admit the interface is a little confusing because- 'reply' is right next to the user information and is then obviously repeated for each post, I didn't notice and just presumed Reply would mean 'reply to this post'.

    Live n learn..