title: Setting 'visibility: visible' is not working
body: <p>Why is my <code>$('#myDiv').css('visibility', 'visible');</code> not working?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$('#clickdiv').click(function() {
      alert($('#myDiv').css('visibility'));
      if ($('#myDiv').css('visibility') == 'hidden') {
          $('#myDiv').css('visibility', 'visible');
      }
  
      if ($('#myDiv').css('visibility') == 'visible') {
          $('#myDiv').css('visibility', 'hidden');
      }
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.0/jquery.min.js"&gt;&lt;/script&gt;
  &lt;div id="myDiv"&gt;hide/show&lt;/div&gt;
  &lt;div id="clickdiv"&gt;click me&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>