Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/03/2004, 13:38
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años
Puntos: 772
Hola, morfeo_II.
Código PHP:
<html>
<
head>
<
script>
function 
letras(e) {
    
tecla=(document.all) ? e.keyCode e.which;
    if(
tecla<97 || tecla>99)
        return 
false;
}
</script>
</head>

<body>
<input type="text" onkeypress="return letras(event)" />

</body>
</html> 
Saludos,