1 回答

慕勒0069038
TA贡献143条经验 获得超39个赞
for (var childDomIdx in document.getElementByTagName("xxx")[0].children){ var childDom = document.getElementByTagName("xxx")[0].children[childDomIdx]; //已经获取到下面的子节点了 接下来就是js对元素的操作了 }
添加回答
举报
0/150
提交
取消