function onlyNumbers(evt) { var e = event || evt; // for trans-browser compatibility var charCode = e.which || e.keyCode; if (charCode ==8 || charCode ==46 || charCode < 48 || charCode > 57 || charCode ==190) { return true; } else { return false; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)