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