i can't use getElementById, because in my document are more tags with the same id.

Did you consider fixing this? It's no wonder things aren't working correctly. You are creating an invalid document. I think that your time would be better spent fixing the document than trying to patch work-arounds that may or may not work across the various browsers. hth, bear

Yes it's one possibility, i can set unique id, which can be very long when the tree is big, because it should reflect the element path from the root. But i wanted to know if the other aproach is also possible. Isn't it possible to go through child nodes in every browser ? Regards Mir