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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -