Question

suppose I have a mootools Element and I want to get a list of all it's descendants (not only direct children)... how can I do this?

Thanks!

Was it helpful?

Solution

Getting all childs using * css Selector:

myElement.getElements('*')
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top