change text of span js html

Solutions on MaxInterview for change text of span js html by the best coders in the world

showing results for - "change text of span js html"
Violeta
10 Jan 2018
1document.getElementById("myspan").textContent="newtext";
2