Recommend this page to a friend! |
Classes of Stefan Gabos | > | PHP Forms Generation and Validation Class | > | templates/default/htmlform_jscript.js | > | Download |
|
![]() |
function digitsOnly(e) { var charCode = (e.which) ? e.which : event.keyCode if (charCode > 31 && (charCode < 48 || charCode > 57)) { return false } return true } |