![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
12/05/2007, 14:35
|
![Avatar de JavierB](http://static.forosdelweb.com/customavatars/avatar16568_12.gif) | 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, |