JSFiddle - React, Tailwind, and code Playground
HTML
<button id='remove_button' type='button'>Remove</button>
JavaScript
$('#remove_button').mouseup(function(){
alert($(this).id);
});
<button id='remove_button' type='button'>Remove</button>
$('#remove_button').mouseup(function(){
alert($(this).id);
});