JSFiddle - React, Tailwind, and code Playground

by Town

HTML

<div id="dim">
    <input type="text" id="one" />
    <input type="text" id="two" />
    <input type="text" id="three" />
</div>

JavaScript

$(function() {
$("#dim > input").change(function() { alert($(this).attr("id")) });
  });