> First comment is that its JavaScript and not Java. Two completely seperate
> langauges/entities. You problem is that javascript thinks that your forms
> fields contain strings, not integers, so you need to convert em. I believe
> its called parseInt, but I cant remember exactly, do that then do the
> addition and it will work great.
If you're not worried about decimal precision, you can simply use Number().
For example:
var intVal = Number(document.MyForm.MyField.value);
Regards,
Seth Petry-Johnson
Argo Enterprise and Associates
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.