JSFiddle - React, Tailwind, and code Playground

by lbstr

HTML

<input type="button" value="Click Me" class="clsTest"/>

JavaScript

$('.clsTest').button().click(function(){
    $(this).after('<input type="button" value="Added" class="clsTest"/>');
});

setInterval(function(){
    $('.clsTest').not('.ui-button').button();
}, 1000);