title: Check for bool in JavaScript
body: <p>I've got the following jQuery (I've got it wrapped in the document ready function and all that, so please know I'm just showing you the inside of the function.</p>
  
  <pre><code>..
              var itemIsSold = $("#itemIsSold").val();
              alert(itemIsSold);
              if(!itemIsSold) {
                 ...
      }
  </code></pre>
  
  <p>where itemIsSold is a hidden input field.  I get the value False upper case F when it hits the alert but never enters my next if statement.  I know this has to be something stupid simple.</p>