这种写法行吗?
var otest = document.getElementById("test"); var newli = document.createElement("li"); newli.innerHTML = "PHP"; otest.appendChild(newli);
var otest = document.getElementById("test"); var newli = document.createElement("li"); newli.innerHTML = "PHP"; otest.appendChild(newli);
2015-01-26
举报