Thursday, 8 August 2013

Calculate then append

Calculate then append

I need the two inputs to be be calculated into a percent using jQuery,
then the result appended to the result div.
<input type="text" value="27" class="numerator" />
<input type="text" value="30" class="denominator" />
<div class="result"></div>
Formula: (numerator * denominator) / 100
Can anyone help me?

No comments:

Post a Comment