i have 3 functions and in each function i have a AJAX call which is synchronous in nature.
function()
{
a();
b();
c();
}
a()
{
ajaxGet(globals.servicePath + '/Demo.svc/GetDemoList/' + sessionStorage.SessionId,function(data, success) {}, '', {async: false}, false);
}
similarly for b() and c().
now i want to wait for the execution of these calls and then proceed with the other operations since those operations are based on the result i get here. how can i get this done?