title: trim and check if empty input
body: <pre><code>if(!$.trim($('.xlarge').value).length) {
      return false;
  }
  </code></pre>
  
  <p>And the HTML is:</p>
  
  <pre><code>&lt;input class="xlarge" name="name"&gt;
  </code></pre>
  
  <p>I checked on my console if the syntax is right, it is right, but even  if the value is not empty it still doesn't submit the form. What's wrong?</p>