I am using the following html to display a checkbox with an image:
<div class="testClass">
<input id="111" name="compare_checkbox" type="checkbox" />
<label for="111">
<i class="icon" aria-hidden="true"></i> <b>Compare</b>
</label>
</div>
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.