getelementsByTagname()

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nikkhah
    New Member
    • Apr 2010
    • 12

    #1

    getelementsByTagname()

    I want to use this function in my program "getElementsByT agName()" in my program but it returns a nodeList. how can I extract the value of the nodes?
    how can I work with a node list?
  • ThatThatGuy
    Recognized Expert Contributor
    • Jul 2009
    • 453

    #2
    use a for loop to loop through each node and then retrieve the inner text of the node or some attribute value...

    Comment

    Working...