JSFiddle - React, Tailwind, and code Playground

HTML

<table id="my_table">
    <tr>
        <td><input type="checkbox" value="24"></td>
        <td> Click Here To Check The Box </td>
        <td> Or Click Here </td>
    </tr>
</table>

JavaScript

$('#my_table td').click(function(e) {
    $(this).parent().find('input:checkbox:first').attr('checked', 'checked');
});