JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/dot-luv/jquery-ui.css">
    <div>
        <input type="button" id="button" value="Click Me" />
        <input type="text" id="text" />
    </div>

JavaScript

$(document).ready(function() {
        $('#text').live('change', function() {
            alert('hello');
        });
        $('#button').live('click', function() {
          $('#text').val('some text').change();
        });
    });