javascript display block
snippet in javascript

display none js

user9474

document.getElementById("myDIV").style.display = "none";

how to make it visible after style="display:none"

user5487


 function myFunction() {
  var x = document.getElementById('myDIV');
  if (x.style.display === 'none') {

      x.style.display = 'block';
  } else {
    x.style.display = 'none';

    }
} 

javascript display block

user2657

document.getElementById("someElementId").style.display = "block";