0

How could I chain jquery ajax calls with promises where the data returned from the previous call, is then used to construct the url used for the next call?

Does anyone know a way or example?

Thanks

omega
  • 40,311
  • 81
  • 251
  • 474
  • 1
    Possible duplicate of [How do I chain three asynchronous calls using jQuery promises?](http://stackoverflow.com/questions/16026942/how-do-i-chain-three-asynchronous-calls-using-jquery-promises) – Andy Ray Jan 28 '17 at 01:35
  • but what do you put in the success and fail properties of the ajax calls, if they are auto chained? – omega Jan 28 '17 at 01:37

0 Answers0