How to add rows in middle of a table with jQuery?
Posted
by understack
on Stack Overflow
See other posts from Stack Overflow
or by understack
Published on 2010-04-01T13:21:31Z
Indexed on
2010/04/01
13:23 UTC
Read the original article
Hit count: 375
I've a table which has customers names along with the products they purchased with their prices. So there are multiple records for each customer. This table is simple 3 column table : name, product and price.
What I wanna do is:
Put all records belonging to one customer together (I've done it) and just after these rows add one new extra row which would just show total price of all the products each customer has purchased. This row would have empty cell in name and product column. And would have total in price column.
© Stack Overflow or respective owner