Using jquery ajax in a loop and keeping track of elements?
I have a web page that loads a bunch of images. Each image address come from an api call. Without ajax the page doesn't load until every image has been retrieved which can take a bit.
I want the page to load a loading .gif for each image then have them appear individual as they load. How do I accomplish this while making the images appear in the right spot because they all have links associated with them.
\