getting a list of all descendants of an element in mootools
-
05-07-2019 - |
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!
Solution
Getting all childs using * css Selector:
myElement.getElements('*')
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow