title: Trying to make a div disappear with javascript
body: <p>I am trying to make a div disappear with javascript. It just doesn't work. What am I doing wrong?</p>
  
  <pre><code>&lt;script src="//code.jquery.com/jquery-1.11.0.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;    
      document.getElementById("des").style.visibility = "hidden";    
  &lt;/script&gt;    
  
  &lt;div id="des"&gt;
    Text.
    &lt;a href=""&gt;link&lt;/a&gt;    
  &lt;/div&gt;
  </code></pre>