I have problems with a line of code in javascript. I have done a funtcion:
function evvalt(valtoztat){
for(i=0;i<12;i++) naptar(valtoztat);
}
If I do this way, then the browser freezes out. There is no problem with the naptar(function) it works perfectly. The interesting side of this problem the next:
function evvalt(valtoztat){
naptar(valtoztat);
naptar(valtoztat);
naptar(valtoztat);
naptar(valtoztat);
naptar(valtoztat);
naptar(valtoztat);
naptar(valtoztat);
naptar(valtoztat);
naptar(valtoztat);
naptar(valtoztat);
naptar(valtoztat);
naptar(valtoztat);
}
There is no problem this code.. :O I would like to know what the problem is.
Thank you for your assistence, David
for(var i=0; ...?codefor(var i=0; ...` works well!! :)