Question: Display event in jQuery Fullcalendar using ColdFusion


Display event in jQuery Fullcalendar using ColdFusion

Answers 0
Added at 2016-12-30 08:12

I have a problem displaying events(timesheet_desc) in full calendar. What could the issue be?

var timesheet_date = new Date();
var d = timesheet_date.getDate();
var m = timesheet_date.getMonth();
var y = timesheet_date.getFullYear();

    header: {
        left: 'prev,next today',
        center: 'title',
        right: 'month'

    dayClick: function(timesheet_date, timesheet_desc, view) {
        var ts_date = timesheet_date.toISOString().slice(0, 10);
        window.location.href = 'user_displayreport.cfm?timesheet_date='+ts_date;

    selectable: true,
    select: function(timesheet_date, timesheet_desc, view) {  
    editable: true,
    timesheet_desc: {
        url: 'bgprocess_calendar.cfm',
        type: 'POST',
        data: {
            timesheet_id: 'timesheet_id',
            timesheet_desc: 'timesheet_desc'
        error: function() {
            alert('there was an error while fetching activity!');
        color: 'yellow',   // a non-ajax option
        textColor: 'black' // a non-ajax option
Source Show
◀ Wstecz