JSFiddle - React, Tailwind, and code Playground

by infernalbadger

HTML

<input type="checkbox" id="test" />

JavaScript

$(document).ready(function() {
    $('#test').prop('checked', true);
});