title: Check if all inputs have value of zero with JS or jQuery
body: <p>I'm trying to check if ALL inputs (<code>.productTextInput</code>) have a value of zero.</p>
  
  <p>If they are all zero then execute an alert, but only if they are ALL zero.</p>
  
  <p>I have been able to check the first and all individually, but not all together.</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;div class="container"&gt;
      &lt;div class="listQuantity"&gt;
          &lt;input type="text" class="productTextInput" name="AddToCart_Amount" value="0"&gt;
      &lt;/div&gt;
      &lt;div class="listQuantity"&gt;
          &lt;input type="text" class="productTextInput" name="AddToCart_Amount" value="0"&gt;
      &lt;/div&gt;
      &lt;div class="listQuantity"&gt;
          &lt;input type="text" class="productTextInput" name="AddToCart_Amount" value="0"&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Script</p>
  
  <pre><code>$('.productTextInput').each(function() {
      if ($(this).val() &lt;= 1){
          alert("Must choose at least one product");
      } else {
          // do something
      }
  });
  </code></pre>