Reputation: 11
Everyone knows how to change the "today" button to read "Today" with a capital T? Thx!
Tried to create my own button recalling the function but I could not find today function.
Should be with customButtons but does not work:
$(document).ready(function(){
$('#CalendarioWeb').fullCalendar({
header:{
left:'today,prev,next,Today',
center:'title',
right:'month,basicWeek,basicDay,agendaWeek,agendaDay'
},
customButtons:{
Today:{
text:"Today",
click:function(){
"today"
}
}
}
});
Upvotes: 0
Views: 488
Reputation: 11
Sorry, now working with:
$(document).ready(function(){
$('#PruebaCalendario').fullCalendar({
header:{
left:'today,prev,next,Today',
center:'title',
right:'month,basicWeek,basicDay,agendaWeek,agendaDay'
},
customButtons:{
Today:{
text:"Today",
click:function(){
$('#PruebaCalendario').fullCalendar('today');
}
}
}
});
});
Upvotes: 1