JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://code.jquery.com/jquery-1.6b1.js"></script>
<input type="checkbox" id="chk" name="chk" />

JavaScript

$("#chk").attr("checked","");