Skip to content
Advertisement

How to get selected month in jQuery full calendar?

We are using jQuery full calendar for displaying events from database.

I need to display the events below the calendar according to user selected month onchange. I can get data according to event date but I can’t get user selected month in jQuery calendar.

JavaScript

This is the calendar function I am using, I need to get user selected month onchange. Does anyone have solution for this problem?

Advertisement

Answer

Maybe I don’t fully understand your quesiton, but it sounds like you just need to know the current month on screen?

FullCalendar has a “getDate” method.

JavaScript

Sorry if this isn’t what you were asking.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement