Soruyu doğru anladıysam yapmanız gereken ajax post metodu ile id'yi göndermek. ID'yi bir öğeye tanımlarsanız o öğeden id'yi alıp post edebilirsiniz.