var p1=document.getElementById("div1"); var s=new String("hello"); p1.innerHTML=s;
p1.appendChild(document.createTextNode(s))