jQuery: How to subtract numeric values of each text input field in an array from that of a corresponding array?
<p>I have two sets of of input fields like this, differentiated by their classes:</p>

<pre><code>&lt;div&gt;
&lt;input type="text" class="columnone" /&gt;
&lt;input type="text" class="columnone" /&gt;
&lt;input type="text" class="columnone" /&gt;
&lt;/div&gt;

&lt;div&gt;
&lt;input type="text" class="columntwo" /&gt;
&lt;input type="text" class="columntwo" /&gt;
&lt;input type="text" class="columntwo" /&gt;
&lt;/div&gt;
</code></pre>

<p>Necessary validations are in place to ensure that only integer values can be input by the user into these fields. </p>

<p>How do I subtract the value of each input field in <code>.columntwo</code> from the value in the corresponding field in <code>.columnone</code> on <code>change()</code> in that particular <code>.columntwo</code> text field? Null values should be considered zero.</p>

<p><em>For example, on <code>change()</code> in the first input field in <code>columntwo</code>, subtract the value of the first input field in <code>.columntwo</code> from the first field in <code>.columntwo</code>. Other fields remain unchanged.</em></p>

<p>Thanks in advance!</p>
