javascript get element and set its display to none code example
Example: javascript display block
document.getElementById("someElementId").style.display = "block";
document.getElementById("someElementId").style.display = "block";