const itemSelector = 'селектор блока';
const buttonSelector = 'селектор кнопки';
$(document).on('click', buttonSelector, function() {
$(this)
.closest(itemSelector)
.prev()
.find(buttonSelector)
.prop('disabled', false);
});
// или
document.addEventListener('click', ({ target: t }) => {
const prev = t.matches(buttonSelector) && t
.closest(itemSelector)
.previousElementSibling
?.querySelector(buttonSelector);
if (prev) {
prev.disabled = false;
}
});