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
-----------------------------------------------------------------------------------------
- $.ajax({
- url: 'add-event.php',
- data: 'title=' + title + '&start=' + start + '&end=' + end,
- type: "POST",
- success: function (data) {
- displayMessage("Added Successfully");
-
-
- }
- });
-
-
-
- calendar.fullCalendar('renderEvent',
- { //---how do i get new id of an Event
- title: title,
- start: start,
- end: end,
- allDay: allDay
- },
- true
- );
- }