JSFiddle - React, Tailwind, and code Playground
HTML
<form id="theform"><input id="theinput" type="text"></form>
JavaScript
document.id('theform').addEvent('change:relay(input)',function(e){
alert('event on '+this.get('tag'));
});
<form id="theform"><input id="theinput" type="text"></form>
document.id('theform').addEvent('change:relay(input)',function(e){
alert('event on '+this.get('tag'));
});