-5

I'm working on a project and I need to know if there is a way to capture dayClick events specifically in days with already set events, in such a way that I can add more events using a popup.

Sangwin Gawande
  • 7,658
  • 8
  • 48
  • 66

1 Answers1

0

Refer dayClick Method. Below is the Code Snippet and I suggest qTip for Full Calendar PopUp.

$('#calendar').fullCalendar({
  dayClick: function(date, jsEvent, view) {

    alert('Clicked on: ' + date.format());

    alert('Coordinates: ' + jsEvent.pageX + ',' + jsEvent.pageY);

    alert('Current view: ' + view.name);

    // change the day's background color just for fun
    $(this).css('background-color', 'red');

  }
});

Refer this Answer for Full Calendar and qTip Integration.

Community
  • 1
  • 1
Venkat.R
  • 7,420
  • 5
  • 42
  • 63