Question

With the Fullcalendar jQuery plugin, is it possible to display an alert with a time slot (e.g. "hello you clicked on 4/10/2014-1-2 pm) when clicking on any timeslot?

Était-ce utile?

La solution

Sure, it's useful.

You can trigger that alert on select:

select: function(start, end, allDay, jsEvent, view) {
    alert('you have clicked on this slot');
},  

Here is a basic example: http://jsfiddle.net/6wE8v/575/

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top