Hmm, It looks like You have control of XHR server, why not send a whole thing to the server and parse/iterate it there, and then send everything back and show to the user? You would probably save a lot of time that way...
You can use JSON to send whole js object. On May 26, 10:57 pm, Russellmd <[email protected]> wrote: > Hello All > > I have a problem with an Ajax request. > I have a "for" instruction, for each iteration is executin a request(I > used XHR). Each request access an external url, so execution time is > about 4-6 seconds, and I need to access at least 600 external links. > I would like to display result of each request, one by one. At the > moment my script is executing and show me all items when "for" is > finished. So, it is possible to display result of each iteration > immediatly , when iteration is finished? > > Thanks and sorry for bad English
