How to withdraw the total amount from the table?

Help to finish the task. can't withdraw the total amount from the table
https://jsfiddle.net/ywxu9uxj/9/
July 9th 19 at 10:03
2 answers
July 9th 19 at 10:05
Solution
You can (can finished little things for yourself): jsfiddle.net/lega911/8bjdptef
Thank you very much!!! - Osborn commented on July 9th 19 at 10:08
and how can you do so if the sum is equal to more than 100, the result gives the bottom line + multiplies the number exceeding 100. for example, in the amount of 135 and column 4. the result should be 2400+(134-100*100)=5800 - Osborn commented on July 9th 19 at 10:11
:
in HTML {{total()}} and in js f-ia scope.total = ... there can do any calculation
jsfiddle.net/lega911/xz82e94h - Bianka0 commented on July 9th 19 at 10:14
Thank you very much, did - Osborn commented on July 9th 19 at 10:17
July 9th 19 at 10:07
Let the syntax is: tblsum(1:,2:)

tblsum - js-function that takes as input a string with pointers <string>:<column> where the column may be absent altogether, then summed the values from all columns of the specified row.
The identification of rows and columns, specify using the id attribute from the tr,td elements or in any other attribute.

Here is the summation.

For the good of the server, you need AJAX to send the basket of goods, and that he will consider everything and will refund the amount.

Find more questions by tags PHPJavaScript