change text shadow javascript code example Example: change text shadow javascript document.getElementById("id").style.textShadow = "new";