php - How to add event to a date in fullcalender on clicking a date -


i using fullcalender. presently adding event date using drag option.now need add event clicking on particular date.

is there option?

i found code in documentation:

$('#calendar').fullcalendar({     dayclick: function(date, jsevent, view) {         alert('clicked on: ' + date.format());         alert('coordinates: ' + jsevent.pagex + ',' + jsevent.pagey);         alert('current view: ' + view.name);          // change day's background color fun         $(this).css('background-color', 'red');     } }); 

edit: dayclick believe you're looking for.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -