JSFiddle - React, Tailwind, and code Playground
HTML
<button name="chip" id="chap" disabled>happy chappy</button>
<input type="checkbox" id="chk" checked>Hello</input>
JavaScript
console.log("diabled attr:", $("#chap").attr("disabled"));
console.log("checked attr: " + $("#chk").attr("checked"));