JSFiddle - React, Tailwind, and code Playground

HTML

<form name='myForm'>
<td width="132" align="left" valign="middle" class="subhead">
                    Add Clubs <input type="checkbox" name="isClubMember" value="on">
             </td>
</form>

JavaScript

$(function(){             
        $("input[name='isClubMember']:checkbox").mousedown(function() {
            if (!$(this).is(':checked')) {
                this.checked = confirm("Are you sure?");
            $(this).trigger("change");
                }
          });
   });