js如何获取第一后代的div?如果是jQuery就很好做:var arr=$('#total').children('.firstChild')获取类firstChild的三个节点然后遍历,获取子节点:var list=[]2023-03-02JavaScript160