JSFiddle - React, Tailwind, and code Playground
by George Batt
HTML
<div id='text' title='this is a title'>0</div>
JavaScript
$('#text').text(function(){
return this.title;
});
by George Batt
<div id='text' title='this is a title'>0</div>
$('#text').text(function(){
return this.title;
});