THANKS Dormilich,
What I am trying to ask is how do I access "amount" from Java Script and fairly print SubTotal(used document.write, but it seems if you print html document.print does not work).
Can I have something as a global variable, I am fairly new to HTML and JS, this is my first try :-)
User Profile
Collapse
-
adding the rows in a table
I have this piece of code, wherin I would like to add the "amount" col to SubTotal each time a row is added and delete the "amount" from SubTotal each time a row is deleted.
Any help?
Code:<html> <head> <script type="text/javascript"> function addRow(tableId, cells){ var tableElem = document.getElementById(tableId); var
Last edited by Dormilich; Oct 23 '11, 07:27 AM. Reason: please use [CODE] [/CODE] tags when posting code
No activity results to display
Show More
Leave a comment: