[jQuery] Re: Ajax request in loop

2008-12-09 Thread vorp
Well ok, I try to explain what I want to do. At first I forgot to tell, that I have setup all ajax requests in synchronous mode ( $.ajaxSetup({async: false}) ) so after call my get_results() function browser should wait for response. Inside while loop is not only function call, but additionally di

[jQuery] Re: Ajax request in loop

2008-12-09 Thread Michael Geary
Hi vorp, your English is fine, don't worry about that. :-) I'm trying to understand the purpose of your code, though. Why do you want to fire off 50 Ajax requests all at once like that? Also, these Ajax requests are *asynchronous*. That is, $.ajax() returns immediately without waiting for the re