full calendar update : not getting id of inserted event

full calendar update : not getting id of inserted event

Dear Sir/Madam


Pls refer 


in this program when i insert a new event by double clicking the calendar cell

I am not getting its id (new id) of the inserted event 

as a result i cannot edit / delete this newly inserted event

-----------------------------------------------------------------------------------------
  1.      $.ajax({
  2.                     url: 'add-event.php',
  3.                     data: 'title=' + title + '&start=' + start + '&end=' + end,
  4.                     type: "POST",
  5.                     success: function (data) {
  6.                         displayMessage("Added Successfully");
  7.                     }
  8.                 });
  9.                 calendar.fullCalendar('renderEvent',
  10.                         {                                                     //---how do i get new id of an Event
  11.                             title: title,
  12.                             start: start,
  13.                             end: end,
  14.                             allDay: allDay
  15.                         },
  16.                 true
  17.                         );
  18.             }