JSFiddle - React, Tailwind, and code Playground
by hleinone
HTML
<div id="foo">
<p>Push the button!</p>
</div>
JavaScript
$(document).ready(function() {
$(document).on("click", "button", function(event) {
alert("You did it!");
});
setTimeout("$(\"#foo\").append(\"<button>Button</button>\")", 5000);
});