I am customizing the jquery weekcalendar to use json to read/write data to a mysql database.
What works so far, loading the cal from db, creating and storing new events on cal and deleting events on the calendar.
I run into problems trying to get the time/date variables when you resize an event on the calendar.
Selecting all the values for the events is possible but I don’t know how to get the current resized event.
So far I have:
eventResize : function(calEvent, $event) {
var startField = $(".wc-time").text();
alert(startField);
},
This selects all the calendar event times but I only need the one that I just resized.
Any toughts?
According to this wiki the event
eventResizeis called with three parameters and the last one is the element that was resized.