Chain ajax and execute it in sequence. Jquery Deferred
There are many ways to write this kind of thing. A flexible approach is separate “actions” from “sequence”, allowing : functions a, b, c to initiate an asynchronous (ajax) action, with no knowledge of how they are to be sequenced a, b, c to be reusable, as part of one or more sequences or individually, … Read more