function replaceMessage(){
var b = document.getElemensByName("b");
var oldhtml = b.innerHTML;
var i = document.createElement("i");
b.parentNode.replaceChild(i,b);
i.innerHTML = oldhtml;
}
恩,,,我看到答案了