DOM childElementCount屬性用於計算子元素的數量並返回它。它僅計算子元素(文本和注釋節點除外)。 用法: node.childElementCount. 其中節點是代表文檔或元素的對象。
確定! 回上一頁