I want to show bootstrap tooltips over events in fullcalendar of Adam Shaw. I tried this code:
eventMouseover: function (event, jsEvent) {
$(this).tooltip();
$(this).css('rel', 'tooltip');
$(this).tooltip({
selector: '[rel=tooltip]'
});
},
But it does not work. What's wrong here?
You can shorten your answer a bit like this:
eventAfterRender: function (event, element) {
$(element).tooltip({title:event.title, container: "body"});
}