how to select the closer element jquery code example Example: jquery closert var otherInput = $(this).closest('.row').find('.inputQty');