var btn=document.createElement("BUTTON");. var t=document.createTextNode("CLICK ME");. btn.appendChild(t);. 那么如何在createelement创建的元素上去设置id呢?
確定! 回上一頁