Table tr checkable

PHOTO EMBED

Mon Feb 21 2022 21:13:33 GMT+0000 (Coordinated Universal Time)

Saved by @jeromew #javascript

<tr class="checkable">

<script>
    $(document).on('click', 'tr.checkable', function () {
        var checkbox = $(this).closest('tr').find("input[type=checkbox]");

        checkbox.prop('checked', !checkbox.is(':checked'));
    });
</script>
content_copyCOPY