JSFiddle - React, Tailwind, and code Playground
by paska
HTML
<input type="text" readonly="readonly" />
<input type="text" readonly="true" />
<input type="text" readonly="" />
<input type="text" />
JavaScript
alert($(":input:not([readonly='readonly'])").length);
alert($(":input:not([readonly])").length);