Is there any better way to traverse a DOM other than going by ID or tag name. I don't have IDs for certin things, but I do have a class associated with it, and traversing it by the tag is too encompassing.
Is there a good solution to this? I'm surprised there isn't mor functionality to traverse a DOM. IDs make the nodes very specific, and tags are too general, it seems like class is what you want to go by sometimes, but there is no function to do that. Can somebody let me know if I'm wrong on this matter?