I want to calculate the total of rows and columns in HTML Table using jquery I tried but the total column is not calculating can anybody help me.Below is my code:
if you want the total in the right bottom cell check this
Fiddle i add this code to your jquery code
var count=0
for(i=1;i<$('tr').length;i++){
var trs=parseInt($('tr:eq('+i+')').find('td:last').text())
count+=trs
}
$(".printer-type tr:last td:last").text(count)
If this solution does not suit your needs, i apologize for making you lose time.