Using getElementsByName without starting at document root.
Posted
by teehoo
on Stack Overflow
See other posts from Stack Overflow
or by teehoo
Published on 2010-05-20T14:24:34Z
Indexed on
2010/05/20
14:40 UTC
Read the original article
Hit count: 246
JavaScript
|dom
Is there a way to use getElementsByName
without starting from the DOM root.
For example I have a div element, and want to start searching from that element.
If not, then do I have to write my own function that recursively iterates through the child nodes, or is there a different way to do it.
© Stack Overflow or respective owner