Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q2081 Is there a way to disable (de-sensitize) a check box item, so that it's always selected or unselected?

You are here: irt.org | FAQ | HTML | Q2081 [ previous next ]

Yes - it uses a tiny bit of JavaScript:

<FORM>
<INPUT TYPE=CHECKBOX CHECKED onClick="return false">
</FORM>

The above code will keep the box checked and make it unchangeable - if you want it kept blank, just remove the CHECKED attribute from the line.

Feedback on 'Q2081 Is there a way to disable (de-sensitize) a check box item, so that it's always selected or unselected?'

©2018 Martin Webb