哪里出现了问题求指点
var otest = document.getElementById("test");
var old =document.getElementsByTagName("li")[1];
var new =document.createElement("li");
new.innerHTML="PHP";
otest.insertBefore(new,old);
var otest = document.getElementById("test");
var old =document.getElementsByTagName("li")[1];
var new =document.createElement("li");
new.innerHTML="PHP";
otest.insertBefore(new,old);
2016-07-14
举报