JSFiddle - React, Tailwind, and code Playground

by Kaleb Hornsby

HTML

<form>
<fieldset disabled="disabled" id="foo">
<input type="text" name="foo"/>
</fieldset>
</form>

JavaScript

console.log($('foo').getAttribute('disabled'))