To get you started, this sums the first column. The jsfiddle is at http://jsfiddle.net/tLX85/
$("input").keyup(function() {
var rowSum = 0;
$("tr td:first-child input").each(function() {
rowSum += parseInt($(this).val(), 10);
});
$("#sumcol1").html(rowSum);
});
solved How to make summary for input type number in row and column