<input type= 'checkbox ' name=cb5 >
要加上什么就会不可见?
------解决方案--------------------------------------------------------
<input type= 'checkbox ' style= "display:none " name=cb5 >
------解决方案--------------------------------------------------------
楼上正解~
------解决方案--------------------------------------------------------
visible 是服务器段端控件的
------解决方案--------------------------------------------------------
input type= 'checkbox ' style= "display:none " name=cb5 >
------解决方案--------------------------------------------------------
显示问题可以交给CSS来做
加上 style 属性 设置 display = "none ";
想显示出来可以用 block 或者inline 等等,根据想显示的方式了
<input type= 'checkbox ' name=cb5 style= "display:none ">
------解决方案--------------------------------------------------------
glamorsunny(魅力阳光) ( ) 信誉:100 Blog 2007-03-27 09:05:58 得分: 0
<input type= 'checkbox ' style= "display:none " name=cb5 >
----------------------------------------------
Right
------解决方案--------------------------------------------------------
服务端的visible=false生成的客户代码就是style= "display:none "
------解决方案--------------------------------------------------------
visible是服务器控件的属性
除了style= "display:none "也可以用style= "visibility:hidden "