JQuery, setTimeout not working

前端 未结 4 476
挽巷
挽巷 2020-11-30 23:28

I\'m still new to JQuery, on the way to getting my ajax example to work i got stalled with setTimeout. I have broken it down to to where it should add \".\" to the div eve

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-01 00:12

    SetTimeout is used to make your set of code to execute after a specified time period so for your requirements its better to use setInterval because that will call your function every time at a specified time interval.

提交回复
热议问题