Alterar texto do span js html
document.getElementById("myspan").textContent="newtext";
Tomas Maillo
document.getElementById("myspan").textContent="newtext";