View Single Post
Old 01-23-2013, 05:13 PM   PM User | #2
WolfShade
Regular Coder

 
Join Date: Apr 2012
Location: St. Louis, MO, USA
Posts: 952
Thanks: 7
Thanked 98 Times in 98 Posts
WolfShade is an unknown quantity at this point
You're trying to add objects, not the value of the objects.

var adult = document.getElementById('adult').value;

Also, + in JS means "concatenate" unless you indicate that it needs to be math.

parseFloat(adult + child + senior... );
__________________
^_^

If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
*
The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".
WolfShade is offline   Reply With Quote