Working with client-side technologies like JavaScript's and Ajax can sometimes be a pain in the butt. One practical example is if you’d like to display a message to the end user or do something else after all Ajax calls within the loop are completed. In this post I’m going to show how to make it work. Suppose that we have this JavaScript block below that iterates the table row to get the item ID stored in an input element and then call an action method from the controller through Ajax by passing ......