Ubah teks span js html

document.getElementById("myspan").textContent="newtext";
Tomas Maillo