I would like to have the user enter a value in to two input fields and then run a calculation on the results that would display in three other input fields. Pure JavaScript would be great, but if anyone can point to a good jQuery plugin that’d be good as well. I found one, but it only offer sum, avg, min, max functions.
They enter a value in A and one in B
<input type="text" name="a">
<input type="text" name="b">
Below, the calculations would show up on the fly in C, D, E.
<input type="text" name="c">
<input type="text" name="d">
<input type="text" name="e">
C = A * .03
D = B * .03
E = (A * .03) / 2 + (B * .03)
Working Demo