Hallo lousypoetry,
case "1":
document.spiel.wahl.options[3] = null;
die alte 4 wird zu 3, 5 wir zu 4 und 6 wird zu 5.
document.spiel.wahl.options[4] = null;
5 wird zu 4.
document.spiel.wahl.options[5] = null;
document.spiel.wahl.options[6] = null;
5 und 6 existieren schon nicht mehr.
Dreh die Reihenfolge um und lösche zuerst 6, dann 5 usw.
Grüße
Andreas
--
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
(Rich Cook)
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
(Rich Cook)