I am very new to jscript /jquery client side programming after years of server side php and would like some help please.
I have 3 input boxes
rent_price
booking_costs
discount
<tr>
<td><input name="rent_price[]" type="text" class="txtBox" id="rent_price[]" ?>" size="5" /> </td>
<td><input name="booking_costs[]" type="text" class="txtBox" id="booking_costs[]" size="5" /> </td>
<td><input name="discount[]" type="text" class="txtBox" id="discount[]" size="5" /> </td>
<td><input name="total_price[]" type="text" class="txtBox" id="total_price[]" size="5" /> </td>
<tr>
When I enter a value in any of the 3 boxes, I want it to recalculate and add rent_price & booking_costs and then deduct the discount as a percentage and put the total in total_price box
e.g
rent_price =900
booking_costs =100
discount=10%
total_price=900
Many thanks - Martyn.