Affichage des articles dont le libellé est How to set click handler on readonly checkbox?. Afficher tous les articles
Affichage des articles dont le libellé est How to set click handler on readonly checkbox?. Afficher tous les articles

mardi 23 septembre 2014

How to set click handler on readonly checkbox?

I have to catch clicking event on readOnly checkbox .

At first, setting readOnly: true in config does not set checkbox to be readonly.


So I call checkbox.setReadOnly(true). This works - checkbox becomes readonly.


But neither of 'click', 'change' or 'check' fire when clicking on readOnly checkbox.


How can I catch click event on readonly checkbox? May be it's possible only by assigning click on its container or corresponding input dom element?






How to set click handler on readonly checkbox?