Hello,
I am a little confused... please help:
-----------------------------------
<DIV id="01">
<DIV id="aNum"></DIV>
<DIV id="bNum"></DIV>
<DIV id="cNum"></DIV>
</DIV>
------------------------------------
is <DIV id="01"> the parent node of <DIV id="aNum"></DIV> ?
If so... How do I access each child using DOM...
shoud this work?:
a = document.getEle mentById('DIV') ;
b = a(0).childNodes .length;
Thanks...
I am a little confused... please help:
-----------------------------------
<DIV id="01">
<DIV id="aNum"></DIV>
<DIV id="bNum"></DIV>
<DIV id="cNum"></DIV>
</DIV>
------------------------------------
is <DIV id="01"> the parent node of <DIV id="aNum"></DIV> ?
If so... How do I access each child using DOM...
shoud this work?:
a = document.getEle mentById('DIV') ;
b = a(0).childNodes .length;
Thanks...
Comment