function replaceMessage(){
var wtf = document.getElementsByTagName("div")
var oldnode = document.getElementById("oldnode")
var oldHTML= oldnode.innerHTML;
var newnode = document.createElement("i");
wtf.replaceChild(newnode,oldnode);
newnode.innerHTML=oldHTML;
}
绯红卷千红
相关分类