JS 第三天

加載頁面時創建 DOM樹 通過 id \class'\ 標籤 找到對應元素 var x=document.getElementById("intro"); var y=x.getElementsByTagName("p"); document.write() 可用於直接向 HTML 輸出流寫內容。 document.getElementById(id).attribute=new value do
相關文章
相關標籤/搜索