hatte nur die mir am fehlerhaftesten Teile kopiert, komplett so:
<form name="a" method="post" action="st_mail.php" onSubmit="return check()">
<select name="Anrede" tabindex="10">
<option selected value="1">- Anrede -</option>
<option>Frau</option>
<option>Herr</option>
<option>Liebe</option>
<option>Lieber</option>
</select>
<select name="Gruss" tabindex="11">
<option>- Gruß -</option>
<option>Ihnen</option>
<option>Dir</option>
<option>Euch</option>
</select>
</form>
<script>
<!--
function check(){
if(document.a.Anrede.value == "1"){
alert("Bitte wählen Sie eine Anredeform!");
document.a.Anrede.focus();
return false;}
if(document.a.Gruss.value == "- Gruß -"){
alert("Bitte wählen Sie eine Grußformel!");
document.a.Gruss.focus();
return false;}
}
//-->
</script>