change display type javascript code example Example: javascript display block Click to copydocument.getElementById("someElementId").style.display = "block";