So im building a table in which the client is allowed to add more rows inorder to add more data to the table.
How can i count the total number of rows that is added to the table?
here is the example which for whatever reason doesn’t actually work on jsfiddle, but just to get an idea of the functionality.
so say the user adds 5 rows 3 times and 15 rows once, the result should be (5*3)15+15 +original 1 = 31
You should be able to keep track in your code, but aside from that, you can do this…
Or with jQuery if you want…