
16/03/2010, 14:44
|
 | | | Fecha de Ingreso: noviembre-2006 Ubicación: Piura - Perú
Mensajes: 582
Antigüedad: 18 años, 3 meses Puntos: 56 | |
Respuesta: Problemas al validar select
Código Javascript :
Ver originalfunction hideAllErrors() { document.getElementById("provinciaError").style.display = "none"; } var provincia; function validacion(formmat){ var p = formmat.provincia; provincia = p.options[p.selectedIndex].value; if(p.selectedIndex=="0"){ hideAllErrors(); document.getElementById("provinciaError").style.display = "inline"; //p.select(); p.focus(); return false; } }
__________________ /* El que atiende, entiende..., el que entiende, aprende!.
Desarrollo Web Freelance, Contactar */ |