JSFiddle - React, Tailwind, and code Playground
HTML
<div id="stage">
</div>
<button id="b1">Cli Me</button>
<div id="results"></div>
JavaScript
$(document).ready(function(){
$('#b1').click(function(){
$('#stage').each(function(){
$('#stage').attr('value', $(this).val());
});
$('#results').html($('#stage').html());
});
});