JSFiddle - React, Tailwind, and code Playground

by maharajan a

HTML

<input type="text" class="gettext">

JavaScript

$('.gettext').keyup(function() {

alert($(this).val().length);


})