Jquery 获取完整日历中的结束日期和开始日期
当事件被拖到另一个日期时,hhw是否在完整日历插件的eventDragStop函数中获取事件开始日期和结束日期?请尝试此代码 开始日期Jquery 获取完整日历中的结束日期和开始日期,jquery,Jquery,当事件被拖到另一个日期时,hhw是否在完整日历插件的eventDragStop函数中获取事件开始日期和结束日期?请尝试此代码 开始日期 eventDragStop: function( event, jsEvent, ui, view ) { console.log(event.title) var EventId=event.eventId; }, 结束日期 $('#calendar').fullCalendar('getView').start._d 试试这段代码
eventDragStop: function( event, jsEvent, ui, view ) {
console.log(event.title)
var EventId=event.eventId;
},
结束日期
$('#calendar').fullCalendar('getView').start._d
试试这段代码 开始日期
eventDragStop: function( event, jsEvent, ui, view ) {
console.log(event.title)
var EventId=event.eventId;
},
结束日期
$('#calendar').fullCalendar('getView').start._d
不确定,但您是否尝试了
事件开始和事件结束?不确定,但您是否尝试了event.start
和event.end
?