FullCalendar Saving issue
I am having trouble getting my FullCalendar to save any information if I hit save. Any help would be greatly appreciated.
www.synergyrecycling-calendar.com/calendar-admin.html
Code for the buttons
buttons: {
save : functio开发者_JS百科n() {
calEvent.id = id; id++;
calEvent.start = new Date(startField.val());
calEvent.end = new Date(endField.val());
calEvent.title = titleField.val();
calEvent.prototype = eventField.val();
calEvent.body = bodyField.val();
$calendar.fullCalendar("updateEvent", calEvent);
$dialogContent.dialog("close");
}
}
I found the problem, but I am not sure how to fix it.
<select name="start">
<option value="">Select Start Time</option>
<option value="08:00:00 GMT-0400 (Eastern Daylight Time)">08:00 am</option>
<option value="Sun May 22 2011 08:15:00 GMT-0400 (Eastern Daylight Time)">08:15 am</option>
<option value="Sun May 22 2011 08:30:00 GMT-0400 (Eastern Daylight Time)">08:30 am</option>
精彩评论