JSFiddle - React, Tailwind, and code Playground

by karthick6891

HTML

<form>
    <input name="foo" value="bar"/><br>
    <textarea name="something">lorem ipsum</textarea>
</form>

JavaScript

$('textarea, input').keyup(function(e){
     console.log('this', this, e);
 });