Put the loading gif in the div that is replaced. I thought it was a good idea.
Showing posts with label loading gif. Show all posts
Showing posts with label loading gif. Show all posts
Friday, June 12, 2009
Loading Gif with ASP.NET MVC and AJAX
I wanted a loading gif to show while the webapp was doing work. It would take a while. I, also, wanted the gif to go away once the response came back to the user.
Thursday, June 11, 2009
Show Loading gif on button click
I wanted to show a loading gif on a user button click, because the action would take a while. So this is the solution I found.


You make the div style.display = "none;" then on button click, you set the style.display = "";
Subscribe to:
Posts (Atom)