maybe it can't be done or maybe I just can't find it, either way I'm new to jquery and it's driving me nuts. I want to accept the return from an ajax call in the calling function, preferably a JSON object. I am explicitly looking for a way to handle the response outside of success/complete callback functions. Can someone please give me the proper syntax for this? The pseudo code is something like
SomeFunction()
{
var JSON_Containter = .ajax({stuff...});
DO other stuff with JSON response...
}
Thanks very much for your assistance!