how to completely change the display of an id in javascript code example Example: display none js document.getElementById("myDIV").style.display = "none";