Hi.
I'm trying to get a reference to all comments on particular level of
tree.
lev.getElements ByTagName('#com ment') - this expression dosn't work at
all
lev.getElements ByTagName('!') - this works fine only for IE
I prepared something like:
for (_k=0, _l=lev.childNod es; _k<_l.length; _k++)
if (lev.nodeName== '#comment' || lev.nodeName==' !') ...
and works fine but I cannot see the reason, why script should search in
all elements when getElementsByTa gName might be working quicker. Does
anybody know, how to solve that?
Cheers.
I'm trying to get a reference to all comments on particular level of
tree.
lev.getElements ByTagName('#com ment') - this expression dosn't work at
all
lev.getElements ByTagName('!') - this works fine only for IE
I prepared something like:
for (_k=0, _l=lev.childNod es; _k<_l.length; _k++)
if (lev.nodeName== '#comment' || lev.nodeName==' !') ...
and works fine but I cannot see the reason, why script should search in
all elements when getElementsByTa gName might be working quicker. Does
anybody know, how to solve that?
Cheers.
Comment