Jquery find nearest matching element February 19, 2023 by Tarik var otherInput = $(this).closest('.row').find('.inputQty'); That goes up to a row level, then back down to .inputQty.