I had a ton of help from someone to create a jquery code snippet to auto-calculate form inputs based on tax rates. Now i’m trying to figure out how to cycle through each input, add them together and then output them in specific table td’s.
I took a crack at adding the sub_total, tax one total, and tax two total and sales tax total but it didn’t work. I’d also like for each row’s total to the right. I haven’t got the slightest idea about how to go about doing that.
heres the jsfiddle that i’m working on. http://jsfiddle.net/SU5jU/20/
perfected –> http://jsfiddle.net/SU5jU/39/
Check this out. I’ve rewriten your code partially. Maybe it will be useful for you:
Code: http://jsfiddle.net/SU5jU/28/
Main calculation here: