Hello,

I´m trying to decided what kind of a ordering page I should make.

What I´m trying to do is a page where customer orders product. There
can be maybe 25 products. Every product has it´s own price. The
customer has a sum of money he can order with. He can´t order more
than hes sum of money.

I was planing on making a list of the products which shows the price.
A quantity column where clicking the quantity box increses (left
click) or decreases (right click) the amount.

So far quite easy, but how would you do the calculation of the total
sum so he sees how much he can still order for? I don´t want to keep
reloading the page everytime he takes one product.

Would Javascript be the best way out? Maybe a event handler on
onChange event.


Kenneth

Reply via email to