Please assist me I need two seperate script in one table.
I am trying to create a Purchase order.
(Output )
Quantity Rate Total Tax Final Cost
10 12.20 112.00 1.7 190.40
10 11.10 111.00 1.7 188.70
Total 223.00 379.10
* Everything in Pink is Auto calculated
* Rest is manual ( Quantity, Rate and Tax ) is user input.
Script 1 - Add, Delete ROW and Script 2 - Add SUM (total)
I am trying to combine this script but its not working. Please assist.
SCRIPT 1 CODE : ADD SUM
SCRIPT 2 : ADD ROW /DELETE ROW
// Table CODE
"dataTable" width="350px" border="0">
"checkbox" name="chk"/> 1 "text" /> - "button" value="Add Row" onclick="addRow('dataTable')" />
- "button" value="Delete Row" onclick="deleteRow('dataTable')" />
Any help is greatly appreciated.
Replies
Know the answer? Post it — somebody with the same question will find it here.