can i automatic onchange?
<p>I have an input <code>A</code> that has an <code>onChange()</code> function that will change the value of label <code>B</code>. Can I make it so that I can change input <code>A</code> with inpurt <code>C</code> but input <code>A</code> will change the value inside input <code>B</code>?</p>

<pre><code>&lt;input name="addqty" id="C" onchange="addqty(this.id)"&gt;
&lt;input name="qty" id="A" onchange="cal(this.id,value)"&gt;
&lt;input name="qty" id="A2" onchange="cal(this.id,value)"&gt;
&lt;label name="total" id="B"&gt;&lt;/label&gt;
</code></pre>

<p>The input <code>A</code> is a quantity, <code>B</code> is the total price, and <code>C</code> is an additional quantity. I need to change the input <code>C</code> so that it will change the value of the inputs <code>A</code>, <code>A2</code>, etc. but will not change the value of <code>B</code>.
How can i fix the problem? Ps: there are many A field call from data base</p>
