How can I call the Today button on the code in FullCalendar? If I where to it with the help of an external button?
http://arshaw.com/fullcalendar/docs/current_date/today/
You have access to fullCalendar, so you can do something like this:
$('#external-button').on('click', function() { $('#calendar').fullCalendar('today'); });
Without looking at the code, I would suggest that the Today button is connected to a JQuery or Javascript method in FullCalendar code. Just call this method.
If the documentation url published above does not work ...
Move calendar to current date.
.fullCalendar( 'today' )
Example use today with an external button:
$('#my-today-button').click(function() { $('#calendar').fullCalendar('today'); });
Source: https://habr.com/ru/post/1344763/More articles:Shell script behaves strangely when called through Erlang port - bashOracle 11g external table size limit - oracle11gConvert Zend_Rest_Route code to handle 2 parameters? - phpDependency Injected Polymorphism Using Windsor Lock - c #how to display method name and class name in gdb - objective-cVIM 7: How to effectively manage the source code tree from the root of the code base? - vimProgrammatically update an embedded excel file - excelI assure you that ShowMessage stays on top - delphiWhy does saveCount remain 1 after [leave the object]? - objective-cVIM 7 and cscope: using "cscope find f" inside the keyboard display to switch between files - vimAll Articles