$(.cprice).each(function (i, obj) { $(obj).html().trim(); total = (total) + (parseInt($(obj).html().trim())); }) $(#tprice).html(total);
total
$(.cprice).each(function (i, obj) { $(obj).html().trim(); total = (parseInt(total) + (parseInt($(obj).html().trim()))); }) $(#tprice).html(total);
total = parseInt(total + parseInt($(obj).html().trim()));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)