set the control hidden use javascript

set the control hidden use javascript

method 1:

1document.all["PanelSMS"].style.visibility="hidden"
2document.all["PanelSMS"].style.visibility="visible"

when the control been hiddened, it also has his position in the page

method 2:

 

1document.all["PanelSMS"].style.display="none" 
2document.all["PanelSMS"].style.display="inline"

when the control been hiddened, it has no position in the page

posted on 2007-01-12 23:57  广思  阅读(404)  评论(2编辑  收藏  举报

导航