title: jQuery : Textbox empty or not
body: <p>I have several textbox on a page, imagine 10, 4 of these 10 have the class "myClass". I'd like to know if ALL these textbox with class "myClass" have length = 0, in one line command</p>
  
  <p>Possible?</p>
  
  <p>Thanks,</p>
  
  <p><strong>Update1</strong></p>
  
  <pre><code>function MyValidation() {
      var res = true;
      if (!$("input:text.MyClass[value!='']").length) {
          alert("testing");
          res = false;
      }
      return res;
  }
  </code></pre>
  
  <p>When you this code, I receive a "true" all the time never "false" and never "testing". I tried the code of every answer.</p>