javascript using settimeout() with a loop

后端 未结 4 1700
醉酒成梦
醉酒成梦 2021-01-24 20:21

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)

4条回答
  •  长发绾君心
    2021-01-24 21:03

    Bart Friederichs is right. Not sure why you want to do this that way, but you can declare a couple of vars inside the schreiben function and increment them inside the same screiben function.

提交回复
热议问题