JSFiddle - React, Tailwind, and code Playground
by Oscar 11
HTML
<button id="test-button-one">test button 1</button>
<div id="test">
</div>
JavaScript
res = `<button id="test-button-two">test button 2</button`
$('#test-button-one').click(function(e){
$('#test').html(res);
});
$('#test-button-two').click(function(e){
alert('yeah')
});