Control the execution of successive ajax calls !!!

Control the execution of successive ajax calls !!!


hello,
I have a request to make two ajax calls (two different requests), but
the call back function for both the ajx calls is same.My requirement
here is, i do not want to trigger the second ajax call till the first
ajax call and it's success function are completely executed.
I short, i want to control the execution of the successive ajax calls.
Any ideas or pointers for the above question?
Thanks,
nit...