JSFiddle - React, Tailwind, and code Playground HTML <div id='blah'></div> <p id='blah'></p> JavaScript alert($('[id=blah]').length);