Mam problem...
konsola Google Chrome po kliknięciu przycisku uruchamiającego losowy_start() wypisuje taki błąd:
Uncaught SyntaxError: Unexpected token
i nic się nie wykonuje. Pomożecie? ;D
function losowy_start(){ timee=document.getElementById('czas').value; do_ilu==document.getElementById('do_ilu').value; if(timee < 0.1){ timee = 0.1; } zero = 0; text=""; var timerID = setTimeout("losowy("+timee+", "+text+", "+zero+", "+do_ilu+")", timee * 1000); } function losowy(time, text, licz, do_ilu){ if(licz < do_ilu){ los=~~(Math.random() * 99)+10; var el = document.getElementById('rzutnik'); text = text + '<br><img src="'+los+'.gif" width="100px;"/>'; el.innerHTML='<img src="'+los+'.gif"/>'; licz = licz+1; var timerID = setTimeout("losowy("+timee+", "+text+", "+licz+", "+do_ilu+")", timee * 1000); } else{ var el = document.getElementById('rzutnik'); el.innerHTML=text; } }