JSFiddle - React, Tailwind, and code Playground
HTML
<div id="test"></div>
CSS
#test {
width: 100px;
height: 50px;
background-color: red;
}
JavaScript
var test = $("#test");
test.prop("disabled", true);
alert(test.is(":disabled"));