Can HTML checkboxes be set to readonly?
Posted
by Electrons_Ahoy
on Stack Overflow
See other posts from Stack Overflow
or by Electrons_Ahoy
Published on 2008-09-30T21:58:58Z
Indexed on
2010/06/12
4:22 UTC
Read the original article
Hit count: 186
I thought they could be, but as I'm not putting my money where my mouth was (so to speak) setting the readonly attribute doesn't actually seem to do anything.
I'd rather not use Disabled, since I want the checked check boxes to be submitted with the rest of the form, I just don't want the client to be able to change them under certain circumstances.
© Stack Overflow or respective owner