How to ASP.Net Ajax - PageMethods Synchronous call and retrieval of results ?
Currently i am doing following async call and working with data :
function checkName(name) {
PageMethods.IsAvailable(name, onSuccess);
}
function onSuccess(result, context, method) {
//... do something with result ....
}
How can i do same synchronously with result?