我有这个功能,它会提示一个询问我的事件名称的方框。
/* when user select timeslot this option code will execute.
It has three arguments. Start,end and allDay.
Start means starting time of event.
End means ending time of event.
allDay means if events is for entire day or not.
*/
select: function (start, end, allDay)
{
/*
after selection user will be promted for enter title for event.
*/
var title = prompt("Titulo do Evento");
/*
if title is enterd calendar will add title and event into fullCalendar database.
*/
我想更改此内容,而是在页面本身显示一个隐藏的文本框,我将在其中插入事件名称。