[Solution found!] 您应该使用以下.setAttribute()方法: g = document.createElement('div'); g.setAttribute("id", "Div1");
確定! 回上一頁