Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ajax update price

Status
Not open for further replies.

bezierstek

Programmer
Aug 30, 2007
43
FR
Hi,

I need to change the subtotal on a page when two different things are changed.

First is a dropdown where the user picks a number and the second is a checkbox when the user picks an advert type (2choices).

I am thinking ajax but don't particularly know where to start.

Any help gratefully received to get me going.
 
sounds like it's a pure javascript issue.

with js you navigate the DOM, grab the values of the form controls you need, do the maths and then dump the result back to the browser. you could do all this serverside too, using ajax, but it seems unnecessary.

your best bet is to post in the js forum.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top