怎样获取当前节点的元素子节点个数

1. 使用 ParentNode.children.length;

2. 使用ParentNode.childElementCount; 

 

posted on 2019-09-16 18:17  aisowe  阅读(2269)  评论(0编辑  收藏  举报

导航