2012-02-12 49 views

回答

1

我已經想通了。而不是把AppendChild,我把它改成PrependChild。它運作良好。

1

嘗試使用insert before

parentDiv.insertBefore(newDiv, parentDiv.firstChild); 
+0

非常感謝你們。但我已經知道了。而不是把AppendChild,我把它改成PrependChild。它運作良好。 :) – 2012-02-12 08:20:29

相關問題