childElementCount 2. p.children.length 3. Interesting way var childs = document.querySelectorAll('.parent > *'); childs.length // gives you ...
確定! 回上一頁