Ver Mensaje Individual
  #2 (permalink)  
Antiguo 17/02/2011, 11:55
ocp001a
Colaborador
 
Fecha de Ingreso: mayo-2008
Ubicación: $MX['VZ']['Xalapa']
Mensajes: 3.005
Antigüedad: 16 años, 10 meses
Puntos: 528
Respuesta: validar select

Creo que sería mejor hacerlo así:

Código Javascript:
Ver original
  1. if(document.getElementById('miselect').value=='sincategoria'){
  2.     alert('Indique categoria');
  3.     document.getElementById('miselect').focus();
  4.     return false;
  5. }