BollywooD macrumors 6502 Original poster May 10, 2010 #1 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?😕
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?😕
BollywooD macrumors 6502 Original poster May 10, 2010 #3 kainjow said: Use the childNodes property. Click to expand... lol, so obvious! ive been staring at code toooo long.😀 thanks
kainjow said: Use the childNodes property. Click to expand... lol, so obvious! ive been staring at code toooo long.😀 thanks