JSFiddle - React, Tailwind, and code Playground
by ysis81
HTML
<button class="disable">Add Person</button>
JavaScript
$('.disable').click(function(){
$(this).prop('disabled', true);
});
by ysis81
<button class="disable">Add Person</button>
$('.disable').click(function(){
$(this).prop('disabled', true);
});