Ver Mensaje Individual
  #4 (permalink)  
Antiguo 13/05/2007, 02:44
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 de nuevo.

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