How to get input field values based on classes : <p>i have a form where i am showing input fields using loop. all fields have classes.
Basically there are 3 fields.
1 - quantity
2 - price
3 - total</p>

<p>as the input fields are in loop. so here is the problem that i want to show total from the quantity*price == total
but i want to calculate total on click.</p>

<p>please help</p>
