vendredi 2 novembre 2018

Other way to disable checkbox?

Besides the regular disabled property, is there any other way to "disable" a checkbox visually and functionally?

I'm just wondering if there's something like readonly for checkbox. I'm developing this module where a checkbox is disabled when either of the 2 unrelated conditions are met. I just want to keep it simple without writing some more codes and all.

Plan is, 1 condition triggers the disabled property and the other one triggers the "disabled2" property.




Aucun commentaire:

Enregistrer un commentaire