Created
June 18, 2015 15:38
-
-
Save jandrodev/a641afc44a68c00b1180 to your computer and use it in GitHub Desktop.
Función para introducir sólo números.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function validaSoloNumeros() { | |
if ((event.keyCode < 48) || (event.keyCode > 57)) | |
event.returnValue = false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment