1
我知道有一個如何使用多個進料源與FullCalendar幾個例子,即: Stackoverflow post多eventsources使用jQuery FullCalendar
然而,他們沒有說明如何使用多個進料源與額外的ajax信息,如類型,數據等
我想使用多個飼料來源,但不能得到它的工作。這裏是我的代碼:
eventSources: [
'json-schedule.php',
'json-events.php'
],
type: 'POST',
data: {
// custom_param1: 'something',
},
error: function() {
alert('there was an error while fetching events!');
},
success: function() {
},
哪裏的類型,數據,錯誤&成功零件與多個數據源去?我找到的例子都沒有證明這一點。
這個例子是直接從文件取出,[這裏](http://arshaw.com/fullcalendar/docs/event_data/events_function/) – allicarn