细节错误吗谁找找
var oldnode=document.getElementById("oldnode");
var oldHTML= oldnode.innerHTML;
var newnode=document.createElement("i");
oldnode.parentNode.replaceChild(newnode.oldnode);
newnode.innerHTML=oldHTML;
var oldnode=document.getElementById("oldnode");
var oldHTML= oldnode.innerHTML;
var newnode=document.createElement("i");
oldnode.parentNode.replaceChild(newnode.oldnode);
newnode.innerHTML=oldHTML;
2016-12-04
举报