ive got a table with 8x10 cells.. each sell got an input element with its own id (11, 12, ... , 21,22,23,...) now i want to fill these inputs after and after (lets say 0.5 sec)
You can try something like this:
var i = 1; var k = 1; var obj = setInterval( function () { document.getElementById(i + '' + k).value= Betrag[i][k]; if(k <= 10) k++; else { k = 1; if(i<=8) i++; else clearInterval(obj); } }, 1000);
Here's a running example at http://jsfiddle.net/Ex98V/