阅读背景:

在进行多个ajax回调时保持请求的顺序

来源:互联网 

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 they were called, not the order they are returned (for some reason some requests are taking longer than others). Any tips on the best practice for this type of thing? I'm looping through several items and making an




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: