FullCalendar保存问题

时间:2011-05-25 20:43:35

标签: fullcalendar

如果我点击保存,我无法让我的FullCalendar保存任何信息。任何帮助将不胜感激。

www.synergyrecycling-calendar.com/calendar-admin.html

按钮代码

buttons: { 
  save : function() { 
   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"); 
   }
}

我发现了问题,但我不确定如何修复它。

<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>

0 个答案:

没有答案