Link to home
Create AccountLog in
Avatar of Scott Fell
Scott FellFlag for United States of America

asked on

Jquery FullCalendar get time in agenda

I would like to get a call back of the date and time when clicking on the week or day view.
http://arshaw.com/js/fullcalendar-1.5.4/demos/external-dragging.html
I have it figured out how to get the date

dayClick: function (date, allDay, jsEvent, view) {
	    var parsedDate = $.fullCalendar.parseDate(date);
	    alert($.fullCalendar.formatDate(parsedDate, 'MM/dd/yyyy'));
	},

Open in new window

If there is an event, I can get the info from that.  However, I want to click on an empty time slot and get an alert of the date and time.
ASKER CERTIFIED SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer