home ~ projects ~ socials

Use The "disabled" Attribute To Make A Checkbox Read Only

<input type="checkbox" name="some_name" checked disabled />

<input type="checkbox" name="some_other_name" disabled />

Notes

  • It looks like Firefox has to have a name attribute on the checkbox to prevent any checked boxes from placing the tic makr on the wrong box
-- end of line --