开发者

getting a list of all descendants of an element in mootools

开发者 https://www.devze.com 2022-12-09 05:35 出处:网络
suppose I have a mootools开发者_Python百科 Element and I want to get a list of all it\'s descendants (not only direct children)...

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

Thanks!


Getting all childs using * css Selector:

myElement.getElements('*')
0

精彩评论

暂无评论...
验证码 换一张
取 消