JSFiddle - React, Tailwind, and code Playground

HTML

<input type="checkbox" name="chb" class="optionChk" value="check me" checked="checked">
<div>
  <input type="submit" name="submit" value="submit" id="submit">
</div>

JavaScript

$("#submit").prop('disabled',true);