I was wondering if anyone out there has a solution using Javascript.

I have input boxes that when a User inputs a numeric value, it dynamically adds commas. I dont want the User to call the function onexit.

Its a requirement that is needed. My current script has parameters which restricts the User from adding non numeric values, but allows pass a parameter to allow the User to enter postive/negative values and decimals.

This is the URL that gave me the code:
JavaScript validate 'as you type' - mredkj.com

I am trying to adapt the code to allow commas but no luck. I would appreciate any assistance. I would open to changing my code, if your solution helps.

Thanks.
Chuck