且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

div标签在运行时隐藏

更新时间:2023-12-04 13:53:24

然后注册一个脚本并将设置为div的可见性隐藏。试试这样:

Then register a script and set visibility of div to hidden. Try like this:
Page.ClientScript.RegisterStartupScript(this.GetType(), "clientscript", "document.getElementById('YourDivID').style.visibility = 'hidden';" ,true);







- Amit


>


我认为你可以使用jQuery隐藏div。


Hi,

I think you can use jQuery to hide the div.


(# divID)。hide();



谢谢
("#divID").hide();

Thank You