Thanks for your reply!
I used HTTPRequest inside a workerPool, thanks.
I wanted to do synchronous postbacks, I know it's not possible but I
"simulated" it with a recursive function like this:
function doWork(array, arrayIndex){
if(arrayIndex < array.length){
var request = blah,blah,blah....
request.onreadystate = function(){
if(request.readyState == 4){
do_some_work_with_array[arrayIndex];
doWork(array, arrayIndex + 1);
}
}
}
}
And call to: doWork(myArray, 0);
It's something like "serial calls". A call is made only if previous
has ended.
Thanks!
On 29 jun, 20:49, Michael Nordman <
micha...@google.com> wrote: