问题
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!
回答1:
visibility:hidden
has not worked for me.
The problem was solved by display:none
回答2:
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.
来源:https://stackoverflow.com/questions/1440151/asp-net-mvc-ajax-form-loadingelementid