liorean
03-16-2003, 06:30 PM
Hmm, is there any way to get a collection, like that of elm.getElementsByTagName, but that does ONLY include children, not all decendant elements?
Oh, I know how to do one myself, but what I wanted to achieve was the interactivity of the collection - if I add, remove or otherwise change the document structure, the collection is updated with the new structure.
Anyone know if this is possible?
(I know it is in moz, using getters, but I wanted to have a cross-browser version.)
Oh, I know how to do one myself, but what I wanted to achieve was the interactivity of the collection - if I add, remove or otherwise change the document structure, the collection is updated with the new structure.
Anyone know if this is possible?
(I know it is in moz, using getters, but I wanted to have a cross-browser version.)