JSFiddle - React, Tailwind, and code Playground
HTML
<input id="stack" type="text" value="stack overflow" />
JavaScript
$('#stack').change(function() {
alert('input value changed');
$.ajax({
// your AJAX parameters
});
});
<input id="stack" type="text" value="stack overflow" />
$('#stack').change(function() {
alert('input value changed');
$.ajax({
// your AJAX parameters
});
});