Vad är fel i denna kod:
document.hanoi.minmove.value=document.hanoi.diskno.options[document.hanoi.diskno.options.selectedIndex].value;
document.hanoi.yourmove.value=0;
}
function newGame(obj){
128--> document.all.footnote.style.top=445 //reposition div
if (movectr>0 && !gameOver && !stop){
if (confirm("Nurvarande spel försvinner, vill du fortsätta?")){
initVars();
drawDisks(parseInt(obj.options[obj.options.selectedIndex].text));
}
else document.hanoi.diskno.options.selectedIndex=prevIndex;
Fel meddelandet:
Rad: 128
Tecken: 2
Fel: 'document.all.footnote.style' är null eller inte ett objekt
Kod: 0
Vad är fel?