JSFiddle - React, Tailwind, and code Playground

by Ting-Yuan Chang

HTML

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

JavaScript

$("#a").prop("disabled", true);