Ver Mensaje Individual
  #4 (permalink)  
Antiguo 15/08/2016, 12:48
Avatar de IsaBelM
IsaBelM
Colaborador
 
Fecha de Ingreso: junio-2008
Mensajes: 5.032
Antigüedad: 15 años, 10 meses
Puntos: 1012
Respuesta: Evitar numero en input text que funcione en el movil

no hace falta buscar. es algo sencillo de hacer
Cita:
function fnc(str) {

if (!/^([\sa-z\xc0-\xff]+)$/i.test(str.value)) {

str.value = str.value.replace(/(.)$/, '');
}

}


<input type="text" onKeyUp="fnc(this)">
__________________
if(ViolenciaDeGénero) {alert('MUJER ASESINADA');}