How to show description of Events in fullcalendar -
i wan know how show description of events in fullcalendar.
i have events have title , description.
so how can show description?
hi here working jquery or javascript code.
i love bootbox.js
showing message implemented here:
$(document).ready(function() { var today_date = moment().format('yyyy-mm-dd'); console.log(today_date); // $('#calendar').fullcalendar('gotodate', today_date); $('#calendar').fullcalendar({ theme: false, header: { left: 'prev,next today', center: 'title', right: 'month,basicweek' // right: 'month,basicweek,basicday' }, // header: { center: 'month,agendaweek' }, // buttons switching between views defaultdate: today_date, businesshours: { rendering: 'inverse-background', dow: [0,1] }, editable: false, eventlimit: true, // allow "more" link when many events events: myevents, eventrender: function (event, element) { element.attr('href', 'javascript:void(0);'); element.click(function() { bootbox.alert({ message: 'description : '+event.description, title: event.title, }); }); } }); });
Comments
Post a Comment