JSFiddle - React, Tailwind, and code Playground
HTML
<head>
</head>
<body>
<div id="monitor"></div>
<textarea id="test"></textarea>
</body>
JavaScript
$(document).ready(function() {
$('#test').live('keyup', function() {
event.preventDefault();
$('#monitor').trigger('keyup');
});
$('#monitor').live('keyup', function() {
$(this).html($('#test').val().length);
});
});