There are several ways to get the number of child nodes. childNodes. It will treat empty text nodes as nodes,. <ul>. Text node. <li>Element node</li>.
確定! 回上一頁