Update Order Form w/o Page Refresh

By Kevin Hartig on Dec 21, 2005
In this order form, the cost for each item is totaled as the items are selected and deselected. This is done without refreshing the entire page in order to save other form information. Heavily commented.
Pizza Order
Small $10.00    Medium $12.00    Large $15.00

Extra Toppings (only one selection allowed):
   Extra Cheese $1.00
   Vegetarian $2.00
   Meat $3.00

Your total is:

The JavaScript Source: Forms : Update Order Form w/o Page Refresh

Simply click inside the window below, use your cursor to highlight the script, and copy [Control]+C the script into a new file in your text editor (such as Note Pad) and save [Control+S]. The script is yours!!!