JSFiddle - React, Tailwind, and code Playground
HTML
<div id="buttons">
<button class="button">Click</button>
</div>
<script>
</script>
JavaScript
$.fn.ready(function() {
$('div').on("click", ".button", function() {
$('#buttons').append('<button class="button">Click</button>');
alert('append button is clicked');
});
});