日期:2014-05-16  浏览次数:20329 次

在javascript中怎样隐藏复选框?
谢谢。

------解决方案--------------------
或者指定ID隐藏也可以
<script language= "javascript ">
window.onload=function ()
{
chk = document.getElementById( "checkid ");
chk.style.display= "none ";
}
</script>
<input name= " " type= "checkbox " value= " " id= "checkid " />
<input name= " " type= "checkbox " value= " " />