I have a series of checkboxes and I am running the following but it never happens and the console gives no result
jQuery( ".masonry input[checkbox]" ).on("change", function() {
if(jQuery(this).is(":checked")) {
console.log("changed");
jQuery('#terzo').removeAttr("disabled");
}
});
HTML
<div class="masonry">
<div class="item">
<input type="checkbox" name="thing_1" value="valuable" id="thing_1">
<label for="thing_1">
<img class="img-responsive" src="http://independentskies.com/wp-content/uploads/2013/11/428126-3732x2655.jpg">
</label>
</div>
<div class="item">
<input type="checkbox" name="thing_2" value="valuable" id="thing_2">
<label for="thing_2">
<img class="img-responsive" src="http://viajescasaquinta.com/wp-content/uploads/2016/11/Grecia.jpg">
</label>
</div>