JSFiddle - React, Tailwind, and code Playground
by skram
HTML
<table id="t1"></table>
<div class="bulk_action">
<div title="Remove requests" class="trash_iconset_grey_16px removeRequest">R</div>
<div title="some other button" class="abc"></div>
</div>
<table id="t2"></table>
<div class="bulk_action">
<div title="Remove requests" class="trash_iconset_grey_16px removeRequest">R</div>
<div title="some other button" class="abc"></div>
</div>
JavaScript
$(document).on('click', '.removeRequest', function(){
var div_obj = jQuery(this).closest('div');
alert(jQuery(div_obj).attr('class')); //<-- this works
var tbl = jQuery(this).closest('.bulk_action').prev(); // <-- Will get you the table
alert(tbl.attr('id'));
});