Question : Need to construct an ASP / AJAX calculator to handle simple arithmetic

I need to port the functionality from an excel spreadsheet (that calculates insurance premiums) into a website utilising Ajax in a classic ASP environment.

The resultant calculator needs to performs dynamic additions and subtractions based on entries in a number of fields -- ie. a list of Asset values needs to be added together, which then informs a field further down the page, and same for liabilities...etc

Can anyone provide some pointers and/or examples as to the best approach to realise this using AJAX and ASP?

Answer : Need to construct an ASP / AJAX calculator to handle simple arithmetic

Thanks for clarifying. A basic example is in the html below. Of course you will need some more script probably to help with the values and input but that is how to do arithmetic and show totals, etc.

Let me know how it helps or if you have a question.

bol

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:

 



A sheet


 

Messing with adding



Asset 1:
Asset 2:
Asset 3:
Asset total

Liability 1:
Liability 2:
Liability 3:
Liability total

Asset total value
Liability total value
Net
Open in New Window Select All
Random Solutions  
 
programming4us programming4us