display none js

JavaScript
document.getElementById("myDIV").style.display = "none";document.getElementById("someElementId").style.display = "block";
Source

Also in JavaScript: