set enable display using javascript code example
Example 1: javascript display block
document.getElementById("someElementId").style.display = "block";
Example 2: html button disabled
<button type="button" disabled>This button is disabled</button>