JSFiddle - React, Tailwind, and code Playground
HTML
<textarea id="story" name="story" rows="5" cols="33">
Once upon a time...
</textarea>
JavaScript
$("#story").change(function() {
alert('Textarea is changed');
});
<textarea id="story" name="story" rows="5" cols="33">
Once upon a time...
</textarea>
$("#story").change(function() {
alert('Textarea is changed');
});