jquery select closests element code example
Example 1: jquery get closest form
$( this ).closest( "form" )
Example 2: get closest element id jquery
$(".isActive").click(function() {
var div_id = $(this).closest('tr').find('.display_image').attr(id);
// ...
});