JSFiddle - React, Tailwind, and code Playground

by Louis Barranqueiro

HTML

<input id="stack" type="text" value="stack overflow" />

JavaScript

$('#stack').change(function() {
  alert('input value changed');
  $.ajax({
    // your AJAX parameters
  });
});