data:'id='+lastID,

data: 'id' : lastID,

Aşağıdaki gibi değiştirip denermisin. Dikkatimi sadece o çekti. Belki doğru bi kullanım değildir.