17/10/2007, 10:41
|
| | | Fecha de Ingreso: mayo-2007 Ubicación: por ahí intentado ayudar
Mensajes: 823
Antigüedad: 17 años, 9 meses Puntos: 6 | |
Re: Obligar A Usuario A Ingresar Todos Los Datos Con Mayuscula EN FORMULARIO hola mira este script me la paso alguine del for pero no recuerdo kien, la mandas llamar con el atributo ONKEYPRESS
Esta es el script:
function vNom(solicitar){
te = String.fromCharCode(tecla);
txt = solicitar.value;
if (txt.length==0 || txt.substr(txt.length-1,1)==' ') {
solicitar.value = txt+te.toUpperCase();
return false;
}
return true;
}
Espero te sirva salu2.
__________________ "Eres grande por que caminas entre gigantes" |