[jQuery] Re: Jquery Ajax one request, multiple answers problem

2009-02-21 Thread Jsbeginner
Thanks, I haven't tested it much yet but it seems to have solved the problem :) ricardobeat a écrit : set cache: false in your $.ajax call to disable cacheing of responses. You can also add a random query parameter to the URL if that doesn't work. - ricardo On Feb 20, 8:53 am, Jsbeginner wro

[jQuery] Re: Jquery Ajax one request, multiple answers problem

2009-02-20 Thread ricardobeat
set cache: false in your $.ajax call to disable cacheing of responses. You can also add a random query parameter to the URL if that doesn't work. - ricardo On Feb 20, 8:53 am, Jsbeginner wrote: > Hello, > > I've been working on a jquery projet (with the lastest stable version of > jquery) that

[jQuery] Re: Jquery Ajax one request, multiple answers problem

2009-02-20 Thread Jsbeginner
It only happens when the api servers are slow and tonight they are all answering within 2 seconds so I can't make it happen. I thought about it changing the wrong element but I don't see how one element could be changed twice or three times as all the elements are changed by the end and the quer

[jQuery] Re: Jquery Ajax one request, multiple answers problem

2009-02-20 Thread James
Could you set up a test page with this code? It's difficult to tell just by looking at it. Use Firebug to check and make sure whether it's really resending a request or not, or whether it's somewhere in the code that is incorrectly modifying the wrong parts of the DOM from subsequent requests. On