title: check all input values of same class is empty jquery
body: <p>Here I have many input text fields with same class like</p>
  
  <pre><code>&lt;input type="text" class="MyClass"&gt;&lt;/input&gt;
  &lt;input type="text" class="MyClass"&gt;&lt;/input&gt;
  &lt;input type="text" class="MyClass"&gt;&lt;/input&gt;
  </code></pre>
  
  <p>My requirement is to check wheather all input fields of this class is empty or not. 
  I've tried this </p>
  
  <pre><code>if(!('.MyClass').val()){
  alert("empty");
  }
  </code></pre>
  
  <p>But it doesn't make any result. Can anyone help?</p>