title: setAttribute('display','none') not working
body: <pre><code>function classInfo(e){
      document.getElementById('classRight').setAttribute('display','none');
      alert(e);   
  }
  </code></pre>
  
  <p>I think this code is very straightforward bit it's not working, and is not hiding the  element in question. I am getting my alert, which makes me think there is no issue.</p>
  
  <p>Any help would be appreciated.</p>