I have used:
document.getElementById("ElementName").style.display = 'block';
This is working. Now I would like to display the "ElementName" field on a button click. But this was not working:
document.getElementById("ElementName").style="display:block!important"