disabled 属性可设置或返回是否禁用 checkbox。
checkboxObject.disabled=true|false
下面的例子禁用了该 checkbox:
<html>
<head>
<script type="text/javascript">
function disable()
{
document.getElementById("check1").disabled=true
}
</script>
</head>
<body>
<form>
<input type="checkbox" id="check1" />
<input type="button" onclick="disable()" value="Disable Checkbox" />
</form>
</body>
</html>