I need to create a function to allow numbers dot and comma. So anyone corrects the following function
function on(evt) { var theEvent = evt || window.event
The Regex that I made for numbers following format of COMMA9.2
COMMA9.2
Example
1,350.88
120.00
1,500,999.24
100
10000000
RegEx
^(\d+|\d{1,3},\d{3}|\d{1,3},\d{3},\d{3}|\d{1,3}(,\d{3})*|\d{1,3}(,\d{3})*\.\d+)$