Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

BollywooD

macrumors 6502
Original poster
Apr 27, 2005
374
47
Hamburg
so I am selecting certain DOMElements, and hiding them, and I would also like to hide the parent Element - as long as it has no other child elements.

How do I go about iterating through a DOMNode, to find all it's child elements?:confused:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.