JSFiddle - React, Tailwind, and code Playground
by smacky311
HTML
<input id="textBox" type="text" />
JavaScript
$('#textBox').attr('disabled', 'disabled');
by smacky311
<input id="textBox" type="text" />
$('#textBox').attr('disabled', 'disabled');