« Return to Thread: sum of table rows
by rolfsf :: Rate this Message:
Reply to Author | View in Thread
Dan G. Switzer, II wrote: It sounds as if this might be a good candidate for my Calculation plug-in: http://www.pengoworks.com/workshop/jquery/calculation.plugin.htm$("tr").each(function (){ var sum = $("span.length", this).sum(); var person = $("td.person").text(); alert(person + " = " + sum); }); -Dan