var div=document.getElementById("replace");
var el=document.createElement("p");
el.textContent=" o=o ";
insertAfter(div,el);

i need to have o=o like <span id="">, but code wont work with span, its possible to do this?