JSFiddle - React, Tailwind, and code Playground
HTML
<div id="container">
<button id="button-1">Button 1</button>
<button id="button-2">Button 2</button>
</div>
JavaScript
$('#container').on( "click", '#button-1', function(e){
alert('CLICKED 1');
});
$('#container').on( "click", '#button-2', function(e){
console.log('da')
var event = jQuery.Event('click');
event.target = $('#button-1').get(0);
$('#container').trigger(event);
});