I have invoked series of triggers in loop. Each trigger that is fired in the loop actually does a ajax call to server and gets the data also does some other work.... Now I want to wait till all these triggers are completed and only after all these triggers are completed I need to display some popup.
My question is how will I know all the triggers are completed?.