Back-to-back ajax long poll without a recursive callback function.
Posted
by Teddy
on Stack Overflow
See other posts from Stack Overflow
or by Teddy
Published on 2010-04-10T04:15:38Z
Indexed on
2010/04/10
4:23 UTC
Read the original article
Hit count: 311
I'm trying to make long poll ajax calls, back to back. The problem with the current way I'm doing it is that I make each successive call from the callback function of the previous call. Is this a problem? Firebug doesn't show any of my ajax calls as completed, even thought the data is returned and the callback is executed. The recursive structure seems inefficient. Any ideas?
© Stack Overflow or respective owner