JSFiddle - React, Tailwind, and code Playground
by matku
HTML
<form>
<input class="target" type="text" value="1" />
<input class="target" type="text" value="2" />
<input class="target" type="text" value="3" />
</form>
<div id="other">
Trigger the handler
</div>
JavaScript
$('.target').keyup(function() {
alert('Handler for .keyup() called. ' + $(this).val());
});