![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
08/09/2010, 12:32
|
![Avatar de _cronos2](http://static.forosdelweb.com/customavatars/avatar357240_2.gif) | Colaborador | | Fecha de Ingreso: junio-2010
Mensajes: 2.062
Antigüedad: 14 años, 8 meses Puntos: 310 | |
Respuesta: prohibicion en un textfield java? Prueba esto:
Código HTML:
Ver original<input type='text' onkeyup='if(this.value.charAt(0)!="2"){alert("Debe empezar por 2");this.value="";}' />
Saludos (:
__________________ " Getting older’s not been on my plans
but it’s never late, it’s never late enough for me to stay. " Cigarettes - Russian Red |