JSFiddle - React, Tailwind, and code Playground

HTML

<div id="Field~1">Text text</div>

JavaScript

alert($("#Field~1").text())