JSFiddle - React, Tailwind, and code Playground
HTML
<button id="cboxClose" type="button">Foo</button>
JavaScript
$('#cboxClose').html('Hello World');
<button id="cboxClose" type="button">Foo</button>
$('#cboxClose').html('Hello World');