>>just wanting to know what the best way would be to do the calculations in the form prior to the user submitting the form.
Personally, I would set an onchange event on each qty input field, and an ID for every TD containig the total and subtotal. In the onchange handler, recalculate the subtotals and totals and update the innerTEXT of the TDs. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/Javascript/message.cfm/messageid:5489 Subscription: http://www.houseoffusion.com/groups/Javascript/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.33
