Harry: schleife mit integriertem if-else

Beitrag lesen

Moin !

function richtig()  {
while (next < 4)  {
if(parent.aufgabe[next] == 0) {
parent.frames[1].document.location.href=+next+".html";

^
                                           zuviel ...

else
}
next=next+1;
}

parent.frames[1].document.location.href="loesung.html";
}

Ciao,

Harry