jquery fullcalendar : operation after data add -
when add event jquery fullcalendar (in selectable mode)on click or selecting dates. how read added event in jquery ?
edit - after comment think must use select function:
select: function(start, end, allday) { var title = prompt('event title:'); if (title) { alert('start:'+start+' end: '+end); calendar.fullcalendar('renderevent', { title: title, start: start, end: end, allday: allday }, true // make event "stick" ); } calendar.fullcalendar('unselect'); },
look @ fiddle here, alerts start , end date, have access tile , allday parameters.http://jsfiddle.net/sybsq/
Comments
Post a Comment