loading image while json call
Hello friends,
I am using VS2008 C# with MVC architecture to build web application. I am using jquery and json to develop the application. the problem is:
I am making json call to server side methods using $getJSON(url, null, function(data){
}); like this.
Now this function consumes some amount of time to load the data what I want is to show a gif image "loading" while all this functions finishes the display data task. How it can be done? please let me know.