Jump to Real's How-to Main page

Disable a checkbox

<INPUT TYPE="checkbox" NAME="MyCheckbox" VALUE="Select Me" DISABLED>

or

document.forms[0].MyCheckbox.disabled = false;

If your browser supports this feature, the following checkbox should be disabled.


If you find this article useful, consider making a small donation
to show your supportfor this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2005
[ home ]