标签:
var newDiv = document.createElement("div");
var
newDiv = document.createElement(
"div"
);
newDiv.className=
"c"
;
newDiv.innerHTML=
"js"
document.getElementById(
"a"
).appendChild(newDiv);
div
原文地址:http://www.cnblogs.com/wzzl/p/5128941.html