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) {
var $inputs = $("input:text");
checkinputs($inputs);
});
function checkinputs($inputs) {
$inputs.each(function () {
console.log(this.value)
});
}