Uncheck an html checkbox with for label
I am using the following html to display a checkbox with an image:
Compare
I need to uncheck the checkbox in certain conditions. I am using the
following jquery : $('#111')[0].checked = false;
This works fine if I don't have the label. When I have the label, I don't
get any errors in console (either Chrome or Firefox), but the checkbox
does not uncheck.
No comments:
Post a Comment