How to make sure the values are increments of 12 in jQuery?
<p>Ok so I have an ajax call that I need to preform if and only if the user has a quantity of 12 because the items are sold as dozens</p>

<p>Here is my html</p>

<pre><code>&lt;input class="items" type="text" name="quantity_26" size="3"&gt;&lt;/span&gt;&lt;br&gt;
&lt;input class="items" type="text" name="quantity_27" size="3"&gt;&lt;/span&gt;&lt;br&gt;
&lt;input class="items" type="text" name="quantity_28" size="3"&gt;&lt;/span&gt;&lt;br&gt;
&lt;input class="items" type="text" name="quantity_29" size="3"&gt;&lt;/span&gt;&lt;br&gt;
</code></pre>

<p>here is my jQuery for the ajax call</p>

<pre><code>if(is_mulitple_of_12){
    $.ajax({
        url: 'processing.php',
        type: 'post',
     ...
   ...
}
</code></pre>

<p>obviously the is_mulitple_of_12 variable is what I need a way to find. I was thinking of maybe the <a href="http://www.java2s.com/Tutorial/JavaScript/0040__Operators/Modulus.htm" rel="nofollow">Modulus</a> javascript operator but i was wondering if there is a better way</p>
