title: How to hide a div with jQuery?
body: <p>When I want to hide a HTML <code>&lt;div&gt;</code>, I use the following JavaScript code:</p>
  
  <pre><code>var div = document.getElementById('myDiv');
  div.style.visibility = "hidden";
  div.style.display = "none";
  </code></pre>
  
  <p>What is the equivalent of that code in jQuery?</p>