I am using Full Calendar plugin to power up my calendar app. I have two calendars that are placed one on another (the pink calendar is under the red one). My goal is to make the pink calendar appear above the red calendar (by increasing its z-index) upon drag start event of the red calendar, while the draggable should be visible and eventually drop on the pink calendar.
As for now, the problem is that even though I assign maximum z-index to the draggable element, it still appears beyond both of the calendars. Here's the Fiddle.
...
eventDragStart: function(event, jsEvent, ui, view) {
$('#calendar2').css('z-index', 0);
$(this).css('z-index', 999);
}
...