S
souporpower
Hi
I have in HTML nested tags like
<span id=1 class=myclass1> <span id=2 class=myclass2>....</span></
span>
In Javascript I do
nodeList=document.getElementsByTagName('span');
The nodeList does not contain the span with id=2 for some strange
reason.
Can someone please tell me how to obtain *all* of the tags in the
document regardless
of nesting?
Thanks
I have in HTML nested tags like
<span id=1 class=myclass1> <span id=2 class=myclass2>....</span></
span>
In Javascript I do
nodeList=document.getElementsByTagName('span');
The nodeList does not contain the span with id=2 for some strange
reason.
Can someone please tell me how to obtain *all* of the tags in the
document regardless
of nesting?
Thanks