dimanche 21 décembre 2014

How to make the difference between unckecked and disabled HTML checkboxes?

I'm trying to get the values from some checkboxes. Some are unchecked, some are checked but disabled. In both these cases, no POST data will be sent to the server by the browser.


What I'm wondering, is how can I know that the checkbox was unchecked, or disabled but checked?





Aucun commentaire:

Enregistrer un commentaire