Disable checkbox not working?

jquery

#1

I tried using disable=true on checkbox while using html and jquery. It didn’t work
Suggestions please.
Thanks, in advance


#2

If you are using jquery on check box then try

$(check box selector).prop("disabled", true);
$(check box selector).prop("disabled", false);

Please change “check box selector” with your check box id or input type.

This will surely work


#3

Thanks Yayati_raj for the suggestion .!!