JSFiddle - React, Tailwind, and code Playground

HTML

<input type="checkbox" id="test" checked="checked" disabled="disabled" />
<a id="clickme">Click me</a>

JavaScript

$("#clickme").click(function() {
    $("#test").removeAttr("checked").removeAttr("disabled");
});