Answers for "dayclick return object"

0

dayclick return object

$('#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');

  }
});
Posted by: Guest on October-26-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language