Maintain order of requests when making several ajax callbacks

后端 未结 4 647
名媛妹妹
名媛妹妹 2021-01-05 05:45

I\'m looping through several items and making an ajax request for each of them (using jQuery). I want them to execute independently, but populate into the DOM in the order

4条回答
  •  长情又很酷
    2021-01-05 06:14

    The answer to this ended up being a jQuery plugin called ajaxManager. This did exactly what I needed:

    https://github.com/aFarkas/Ajaxmanager

提交回复
热议问题