[jQuery] setInterval, ajax call and LiveQuery : strange bug
Hi all
I'm french PHP developer (part of the Spongestats project - <a href="http://spongestats.sourceforge.net">http://spongestats.sourceforge.net</a>) and a newbie user of jQuery.
I recently used jQuery to implement an ajax-powered refresh system for my last visitors (as shown on
<a href="http://fetardalyon.sytes.net/Spongestats/v3/">http://fetardalyon.sytes.net/Spongestats/v3/</a>).
But, I encoutered the following bug : setInterval is used to call an other page, every X seconds, and retrieve new visitors by ajax call. And, each ajax-call is executed twice :(
By removing LiveQuery plugin, I can say this plugin is the source of my bug, but I need it to start events on ajax-generated content.
So, can anybody help me to resolve it?
Cordially
Samy RABIH
<a href="mailto:fetard@gmail.com">fetard@gmail.com</a>