florida
05-20-2003, 11:03 AM
I have an input box done in javascript. When a number is entered it works but if someone enters a comma such as in the input "200,000" it throws my computation off. I need to compute the number 200000.
Please advise how I can get rid of the comma when entered in. Should I be leaning toward a reg expressionsubstitution? Please provide an example if possible?
Please advise how I can get rid of the comma when entered in. Should I be leaning toward a reg expressionsubstitution? Please provide an example if possible?