newnode.innerHTML=newnodeText;这样为什么不行
function replaceMessage(){
var newnode=document.createElement("i");
var newnodeText=document.createTextNode("JavaScript")
newnode.innerHTML=newnodeText;
var oldnode=document.getElementById("oldnode");
oldnode.parentNode.replaceChild(newnode,oldnode);
}