<p id="foo"> <span>First span</span> </p> <script> var p = document.getElementById('foo'); // 會顯示"#text",因為第一個子元素是空白的文字 ...
確定! 回上一頁