Cleaner way of checking values of textboxes
<p>I have a table that lists items and has a quantity textbox column that starts with an initial value of 0.</p>

<pre><code>item name | price | quantity
item1     | $1.00 |    0
item2     | $1.00 |    0
item3     | $1.00 |    0
</code></pre>

<p>I want to check if all of the rows have 0 as their value.</p>

<p>I'm currently thinking of using this:</p>

<pre><code>var all_zeros = true;
$('input.item-quantity').each(function () {
    //Check for 0 quantity and update all_zeros var
}
</code></pre>

<p>Is there a cleaner and hopefully better way of doing this?</p>
