Hi Jürgen,
id="Zeilexy" onclick="Farbwechsel('Zeilexy')" style="background-color:#ff0000"
(für xy in jeder Zeile eine entsprechende Nummer)
und mach dann eine Funktion
function Farbwechsel(nr) {
if (document.getElementById(nr).style.backgroundColor=='#ff0000') document.getElementById(nr).style.backgroundColor='#00ff00';
else document.getElementById(nr).style.backgroundColor='#ff0000';
}
Das sieht richtig gut aus. Vielen Dank.
Viele Grüße
Ingo