I have a for loop that runs through an array of functions and invokes each one. ideally I would like to invoke them in a particular sequence since the output of one might effect the output of the others after it. is there anyway to do that without setting time intervals or timers?
Sorry...I guess i should have explained a bit more.. the example i have in mind might sometimes use ajax which means I would have to wait for ajax success before i carry on. ( other times I dont need to wait for ajax success) so i would like to set a condition such as if (success) { continue the for loop } in which success is a variable set on the success of each part of the loop.