JSFiddle - React, Tailwind, and code Playground
HTML
<p id="example">#10896: html() function NEVER works</p>
JavaScript
alert($('#example').html());
<p id="example">#10896: html() function NEVER works</p>
alert($('#example').html());