return '{events : [{"id":1,"start": new Date(2010, 10, 22, 12, 30, 00),"end": new Date(2010, 10, 22, 13, 30, 00),"title":"Meeting with Mark"}]};';
This is not displaying the data in the calendar. If I try the code like this in js file,
return {events : [{"id":1,"start": new Date(2010, 10, 22, 12, 30, 00),"end": new Date(2010, 10, 22, 13, 30, 00),"title":"Meeting with Mark"}]};
instead of return $.get('./calendar.php?action=get_events&startD='+start+'&endD='+end); it will work.
Please help to fix this issue. Really appreciate your support. Thanks