Javacsript Update Text in Span

document.getElementById("myspan").textContent="newtext";
Encouraging Eland