Andreas Schneider: Formulareingabe(Dropdownlistenfeld)prüfen

Beitrag lesen

Hallo Horst

<script>
function test() {
if (document.Personal.Selektion.options[document.Personal.Selection.selectedIndex]  == 0)

Ist natürlich Unsinn. Muß heissen:

if (document.Personal.Selektion.options[document.Personal.Selection.selectedIndex]  == "Keine")
...

oder

if (document.Personal.Selection.selectedIndex == 0)
...

Grüße
Andi