deadseasquirrel
05-27-2004, 09:28 PM
Has there been any talks about giving nodes a getElementsById() function. It seem slike that would be a really good function to have, because my Id attributes don't just go one level deep.
Of course you can say, well if you wanted the element whose ID is farther down why not just ask for it. And I guess sometimes you want to stay in a level above it for traversing. Of course there are work arounds, it just seems like it would be a useful function.
Of course you can say, well if you wanted the element whose ID is farther down why not just ask for it. And I guess sometimes you want to stay in a level above it for traversing. Of course there are work arounds, it just seems like it would be a useful function.