javascript modify span text code example Example: change span value javascript document.getElementById("serverTime").innerHTML = ...;