Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望能够单击一个按钮将所有事件数据放入一个包含所有事件数据的 json 对象的 var 中。
$('#calendar').each(function(i,v){alert(v);});不工作
$('#calendar').each(function(i,v){alert(v);});
使用.fullCalendar('clientEvents'). Event返回一个对象数组
.fullCalendar('clientEvents')
Event