How to return live list with jquery each

You’re adding the amount(s) to the previous total, rather than replacing it. Try

var tot = 0;

instead.

1 Like