透過createElement雖然建立新的div元素,不過在瀏覽器上還看不到它,直到透過appendChild()、insertBefore()或replaceChild()等方法將新元素加入至指定的位置才會顯示 ...
確定! 回上一頁