JSFiddle - React, Tailwind, and code Playground
by jackdent
HTML
<input type="button" id="button" value="button">
JavaScript
$('#button').click(function() {
$(this).remove();
});
by jackdent
<input type="button" id="button" value="button">
$('#button').click(function() {
$(this).remove();
});