How could I inhibit changing checkbox
without using disabled
, since I want to send it via form.
<input type="checkbox" name="option1" readonly="readonly" checked="checked"/>
// esta alterando
<input type="checkbox" name="option2" disabled="disabled" checked="checked"/>
// não envia pelo form