Another solution that is suggested is this: create a loop, check if the firstChild property is defined (the element has at least a child) ...
確定! 回上一頁