createElement,appendChild ... createElement寫法搭配appendChild //子結點. //先組好結點. var str = document. ... className = "title; //增加Class.
確定! 回上一頁