Manuel Araoz
Manuel Araoz

Reputation: 16406

getting a list of all descendants of an element in mootools

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!

Upvotes: 3

Views: 857

Answers (1)

Andreas Köberle
Andreas Köberle

Reputation: 110922

Getting all childs using * css Selector:

myElement.getElements('*')

Upvotes: 4

Related Questions