JSFiddle - React, Tailwind, and code Playground

by j08691

HTML

<input type="checkbox" id="a">
<input type="checkbox" id="b">
<input type="checkbox" id="c">

JavaScript

$("#b").prop("checked", true);
$("#c").prop("indeterminate", true);