The hasChildNodes() method returns true if a node has any child nodes, otherwise it returns false. Syntax. nodeObject.hasChildNodes(). Example. The ...
確定! 回上一頁