Answer the question
In order to leave comments, you need to log in
How to do staged ajax loading?
I wrote a parser, based on two different APIs, that displays information about the series. The bottom line is that when I click on the "Submit" button in ajax, it returns to me, after a long download, the answer is in the form - Series, series name, picture, description, and so on. How can I make the download step by step? Let's say I pressed the "send" button and after processing one series, it will be displayed on the screen, then the second one is loaded, etc. I thought to throw ajax in a loop, and set the value for the output series, and then +1. But I think this will load the page even more, and I think there is a better way out of this situation.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question