Código HTML:
<script> function validaSelects(formulario) { var isNotSelected = false; var selects = formulario.getElementsByTagName('select'); for( i = 0; i < selects.length; i++ ) { if( selects[i].selectedIndex == 0 ) isNotSelected = true; } return isNotSelected; } </script> <form name=autos_individual action="inser1.php" id="fai" OnSubmit="return validaSelects('autos_individual');" method="post" enctype="multipart/form-data">
Alguien podría orientarme por favor??