View Single Post
Old 02-13-2013, 10:35 PM   PM User | #3
AlanP
New to the CF scene

 
Join Date: Feb 2013
Location: Texas
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
AlanP is an unknown quantity at this point
Thank you for the help

As I mentioned, this is my first attempt at javascript, and I took the code from a sample. The reason if filled in the variables at the beginning was to serve as a sample set of values, which I wanted the user to adjust.

Your explanation went over my head, as I am so new to javascript. Could you fix the code I submitted so it works properly and allows people to enter a decimal point on field 2 and a straight percentage value (like 30)?

Your explanation makes sense, but modifying the code with your fixes is beyond me, it is so easy to make mistakes with this.

I would be extrememly grateful if you could show me the whole solution.
AlanP is offline   Reply With Quote