Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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!

like image 451
Manuel Araoz Avatar asked Nov 27 '25 20:11

Manuel Araoz


1 Answers

Getting all childs using * css Selector:

myElement.getElements('*')
like image 192
Andreas Köberle Avatar answered Nov 30 '25 10:11

Andreas Köberle



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!