这样子有错吗?
var otest = document.getElementById("test");
var q=document.createElement("li");
q.innerHTML="Css";
otest.insertBefore(q,otest.chlidNodes[0]);
var otest = document.getElementById("test");
var q=document.createElement("li");
q.innerHTML="Css";
otest.insertBefore(q,otest.chlidNodes[0]);
2016-08-29
举报