JSFiddle - React, Tailwind, and code Playground HTML <div id="blah" data-pro="002220512"></div> JavaScript alert($("#blah").data('pro'));