php - Need multiple independent timers in Ajax -


I need the ability to create N zodiac timers in JavaScript / Ajax which will be counted like a stopwatch (but there are no buttons in it is not ).

Another issue is that my data will be loaded through another Ajax request so that the page will be constantly updated. I'm not sure how the timer value can be kept as it happens.

Thank you!

Javascript already has this functionality checkout

  set interface set The timeout  

both of you call "Ms. X number, I want to fire the following callback function". With setTimeout , the callback once appears to be a fire, with the setInterval , the callback goes on and off again until you call it to stop.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -