JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" id="theInput" value=""/>     
<a href="#" id="theLink">Click me</a>

JavaScript

$('#theLink').live('click', function(){
    alert('click');
});

$('#theInput').live('change', function(){
    alert('change');
});