Hallo Thomas !
Leider funktioniert Deine Lösung auch nicht ! :(
aber trotzdem DANKE
mfg
Marcus
Hallo,
du hast noch einen Fehler drin.
Anstelle von z.B. document.Fidi.bahncard.value
mußt du document.Fidi.bahncard.options[1].value schreiben.Grüße
Thomasfunction korrektur()
{if (document.Fidi.bahncard.value = "Keine")
{
document.Fidi.bahncard.options[1].selected;
}
else if (document.Fidi.bahncard.value = "1.KL")
{
document.Fidi.bahncard.options[2].selected;
}
else if (document.Fidi.bahncard.value = "2.KL")
{
document.Fidi.bahncard.options[3].selected;
}
}Jedoch erscheint in der Dropdownbox immer der Wert von Keine obwohl 1.Klasse in der DB steht
Weiß jemand Rat ???
mfg
Marcus