JSFiddle - React, Tailwind, and code Playground

by tonytlwu

HTML

<input type="text" id="foo" />

JavaScript

$('#foo').on('keyup input change', function (e) {
	console.log(e.type, $(this).val());
});