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