How to prevent checking of a checkbox?


#1

How to prevent checking of a checkbox ?


#2

You can disable a checkbox by adding the disabled attribute:

<input type="checkbox" disabled />