Search code examples
ajax-forms

ASP.NET MVC Ajax Form LoadingElementId


Can anyone please tell how do I reference the loading element id?

I guess I have to write an id of an html element such as a div or an img but I can't put a div or img invisible until it is necessary and I also can't even make it work.

I know I am far away from the answer. Please help!


Solution

  • I got the answer a long time ago. I just need to set the div style to visibility:hidden and write its id and the loading item id in the Ajax form. Hope this helps.