如何在div中用asp制作样式 [英] how to make a style in asp with div

查看:78
本文介绍了如何在div中用asp制作样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个由javascrpt使其不可见的div.我想在单击按钮时看到div,然后执行一些代码.但是div中有一个按钮使javascript无法使div可见.

I have a div made invisible by javascrpt.I want to visible the div when button is clicked and then execute some code.but there is a button in div that make the div invisible by javascript.I came to know that if i make visible the div by c# code,it can not be invisible by javascript.So how can i do the whole?

推荐答案

不正确. Div是HTML DOM对象.只要它仍然存在于DOM中,就始终可以使用javascript对其进行访问.
Not true. Div is HTML DOM object. It can always be accessed using javascript as long as it is still present in DOM.


这篇关于如何在div中用asp制作样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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