I would like to calculate the Total value by choosing some shipping method then the value will sum up with order subtotal.but when I choose one of the shipping method then choose another one, the total value sum with the new and the previous chosen.For example. at start total: 200 then clicked "DHL standard delivery : $10.50" -> total = 210.50. After that, clicked "DHL express delivery : $42.50" -> total = 252.50, but it should be 242.50How can I solve this?Here's my jQuery code\[code\] $("input:radio[name=shipping]").click(function(){ var total = 0; $("input:radio[name=shipping]:checked").each(function() { total += parseFloat($(this).val()); }); var current = parseFloat($('#total').val()); $("#shipping").html(total); total += current; $("input:text[name=total1]").val(total); });\[/code\]HTML code\[code\]<tr valign="top"> <td>Select Shipping method</td><td> <input id="shipping_method" type="radio" name="shipping" value="http://stackoverflow.com/questions/12757589/10.50"> DHL standard delivery : $10.50<br> <input id="shipping_method" type="radio" name="shipping" value="http://stackoverflow.com/questions/12757589/42.50"> DHL express delivery : $42.50<br> <input id="shipping_method" type="radio" name="shipping" value="http://stackoverflow.com/questions/12757589/0.00"> pick up : $0.00<br><br></td> </tr> <tr> <td>Order Subtotal<td><label id="subtotal" value="">$200.00</label> </tr> <tr><td> </tr> <tr> <td>Shipping<td>$<span id="shipping">0.00</span> </tr> <tr><td> </tr> <tr> <td>Total<td> $<input type="text" id="total" name="total1" value="http://stackoverflow.com/questions/12757589/252.50" style="border:0px;"> </tr>\[/code\]