JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" />
<br/>
<input type="text" />
<br/>
<input type="text" />
<br/>
JavaScript
$(document).on("change", "input:text", function (e) {
checkinputs(this);
});
function checkinputs(input) {
console.log(input.value)
}