ASP.NET MVC Ajax表单LoadingElementId [英] ASP.NET MVC Ajax Form LoadingElementId

查看:138
本文介绍了ASP.NET MVC Ajax表单LoadingElementId的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以告诉我如何引用加载元素ID吗?

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

我想我必须写一个html元素(例如div或img)的id,但是在必要之前我不能将div或img设置为不可见,而且我什至无法使其正常工作.

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!

推荐答案

很久以前我得到了答案.我只需要将div样式设置为visibility:hidden并以Ajax形式编写其ID和加载项ID.希望这会有所帮助.

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.

这篇关于ASP.NET MVC Ajax表单LoadingElementId的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆