[Javascript] doing totals of form values client side - examples

Peter Brunone peter at brunone.com
Tue Aug 21 11:09:15 CDT 2001


Jason,

    If you want to update in real time, just slap an onChange event handler
on all changeable text fields.  Remember to parseInt() or parseFloat() the
form field value since it starts as a string; not much more to it.  It's
even simpler for checkbox values, as you can see at
http://www.digitaltechnologyconsulting.com/orderform.asp .

Cheers,

Peter

----- Original Message -----
From: "Jason Belanger" <BELANGERJ at EM.AGR.CA>
To: <javascript at LaTech.edu>
Sent: Tuesday, August 21, 2001 10:14 AM
Subject: [Javascript] doing totals of form values client side - examples


Does anyone have any examples or URLs on making running totals for purchase
webpage using Javascript?

Jason

Jason Belanger
Web Technologies System Specialist
(613) 759-7809
belangerj at em.agr.ca
http://www.agr.ca/

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript





More information about the Javascript mailing list