hi sir/mam
i have a html table in that i'm displaying some products with their amount , now i need to calculate the sum of them amout of same products from the table.
Ex:
Product Amout
A 10
B 20
A 10
in footer
sum of A: 20
Sum of B : 10
how i need to calculate it using java script
plz help me