$.ajax({ type: "POST", url: "/Webservice/webservice1.asmx/SomeMethod", async: false, success: successMethod });
function CallService(){ var webServiceProxy = new testNamespace.Webservice.webservice1(); //Code runs before calling webservice webServiceProxy.SomeMethod(successMethod); //codeLocation2 } function successMethod(result) { }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)