Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/09/2006, 08:26
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años
Puntos: 772
Hola el tucu
Código:
<form>
<select name="sel1">
<option>--</option>
<option>AA</option>
</select>
<select name="sel2">
<option>--</option>
<option>AA</option>
</select>
<input type="button" onclick = "if (sel1.selectedIndex==0 || sel2.selectedIndex==0) alert('Error')" />
</form>
Saludos,