JSFiddle - React, Tailwind, and code Playground
by Daniel Lamb
HTML
<input id="example">
focus: <span>false</span>
JavaScript
$('#example').on('focus', function() {
$('span').text('true');
});
by Daniel Lamb
<input id="example">
focus: <span>false</span>
$('#example').on('focus', function() {
$('span').text('true');
});