Ver Mensaje Individual
  #2 (permalink)  
Antiguo 08/09/2010, 12:32
Avatar de _cronos2
_cronos2
Colaborador
 
Fecha de Ingreso: junio-2010
Mensajes: 2.062
Antigüedad: 13 años, 11 meses
Puntos: 310
Respuesta: prohibicion en un textfield java?

Prueba esto:
Código HTML:
Ver original
  1. <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