开发者

check the style attributes of a div in vb.net

开发者 https://www.devze.com 2023-01-31 12:20 出处:网络
Just as the title says, i have a div in the aspx side which has ID and runat=server. I have 2 functions in the vb.net side code, on of which adds style as div.style.add(\"display\",\"none\").

Just as the title says, i have a div in the aspx side which has ID and runat=server. I have 2 functions in the vb.net side code, on of which adds style as div.style.add("display","none"). In the oth开发者_StackOverflow中文版er function i want to check if the div style display is none or not. How can i check that programatically?


got it. div.style.item("display"), will GET value of that item.

0

精彩评论

暂无评论...
验证码 换一张
取 消