JSFiddle - React, Tailwind, and code Playground
HTML
<div style="width:200px;height:300px;background:#999">
<div class="content" style="background:#BBB; min-height:50px">
<div class="button" style="background:#888">
loren ipsum dolores
</div>
</div>
<div class="resetButton" style="margin-top:50px;background:red;">
reset
</div>
</div>
JavaScript
$(function() {
$('.resetButton').bind('click', function (event) {
$('.content').html('<div class="button" style="background:#888">loren ipsum dolores</div>');
});
$(document).on('click', '.button', function (event){alert();});
});