title: How do I test for a empty string/null, using JavaScript?
body: <p>How do I test for a input[text] field that has nothing in?</p>
  
  <p>This is what I have so far:</p>
  
  <pre><code>    if ($('#StartingPrice').length == ""){
          alert("ERROR!");
      }
  </code></pre>
  
  <p>Any help would be greatly appreciated, Thanks </p>