Hi All,
consider the following code for which I wrote to call simple web service using AJAX script reference method. When I call the web service and result passed into success function correctly, but I want to access the value returned from success function out of the block of success function, I tried the java script global variables, also created reference function but it still does not resolve the problem, however using global variable the value correctly setup when I call the service again. Following is the sample code that will help you to understand the problem, please refer to javascript CallService() method where you actually find the desired output details:
//Web Service Code:
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using Sys ...
Go to the complete details ...