Lieber ChrisB,
bitte formatiere Quellcode entsprechend
da stimme ich Dir absolut zu.
function Zeitauswahl () {
if (document.Kontakt_Formular.erreichbar_von.selectedIndex == 0)
document.Kontakt_Formular.erreichbar_bis.selectedIndex = 0;
else if (document.Kontakt_Formular.erreichbar_von.selectedIndex == 1)
document.Kontakt_Formular.erreichbar_bis.selectedIndex = 1;
document.getElementById('0').disabled = true;
wieso rückst Du die letzte Zeile ebenfalls ein? Sie wird nicht mehr in der if-Anweisung fallbezogen behandelt, sie gilt immer!
Liebe Grüße,
Felix Riesterer.
--
ie:% br:> fl:| va:) ls:[ fo:) rl:| n4:? de:> ss:| ch:? js:) mo:} zu:)