Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/05/2007, 14:35
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años
Puntos: 772
Re: limitar datos al ingresar en un campo de texto

Hola w0z

Prueba con este código:

Código:
<input type="text" onkeyup = "if(this.value>10) alert('Error')" />
Saludos,