JSFiddle - React, Tailwind, and code Playground
HTML
<form id='violation_form'><input type='checkbox'><label>Trisha, I love you</label></form>
JavaScript
$('#violation_form label').click(function() {
//alert($(this).parent().prev().html());
var $checkbox = $(this).closest('form').find('input[type="checkbox"]');
console.log(!$checkbox.attr('checked'));
$checkbox.prop("checked", !$checkbox.prop("checked"));
});