<script> function verifydigit(texto) { if (isNaN(texto)) { alert('Valor incorrecto'); return false; } return true; } </script>