JSFiddle - React, Tailwind, and code Playground
by kasperfish
HTML
<form>
<input id="target" type="text" value="Hello there">
</form>
<div id="other">
Trigger the handler
</div>
JavaScript
//http://api.jquery.com/select/
$( "#target" ).select(function() {
alert( "Handler for .select() called." );
});