Skip to content Skip to sidebar Skip to footer

Resources Array In Full Calendar Scheduler Are Not Populating In IE 11

I am using full calendar scheduler (1.6.2) and i am retrieving the resources from some drop down and creating the array and feed to full calendar scheduler. Resources are successfu

Solution 1:

after hours of debugging i have found what's going wrong.In the below loop employees array contains the same element for each iteration ,replacing the existing one so in the end variable contains the same elements.Don't know why IE always causing trouble.

$("#schedule_employees > option:selected").each(function() {
    var id = $(this).attr('id');
    var title = $(this).text();   

change the below line from

    item = {} //this is causing issue  

to

var item = {};

    item.id = id;
    item.title = title;
    employees.push(item);
    employee2 = employee2 + $(this).attr('id') + ",";
});

Post a Comment for "Resources Array In Full Calendar Scheduler Are Not Populating In IE 11"