Hi guys,

This is my 1st time asking the questions hence please bear with me if I did
it wrongly or etc.

I have a J2EE application that used jQuery quite a lot. There is one page
that called jQuery 4 times upon loading. Out of these 4 calls, there is one
jQuery call that took around 20-30 seconds depending on the criteria that
user chose. 

However, unfortunately, I found that the other 3 jQuery calls are in fact
waiting for that 1 jQuery call that took some time to complete before the
rest can also be completed. I have added the debugging, it seems that the
bottleneck occurred at the success method of .ajax. The other 3 calls are
simply "stuck" there to wait for the 1 call to complete before they can
proceed to implement their success methods.

Any idea how to fix it?

Thanks
David
-- 
View this message in context: 
http://www.nabble.com/Multiple-JQuery-Bottleneck-tp19938671s27240p19938671.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to