In this tutorial, We will learn how to get selected year using jquery in full calendar example. I will show you get selected year in the full calendar. This article will give you how to get selected year using jquery in the full calendar.


        <title>Fullcalendar Get Selected Year Using Jquery Example</title>
        <link href="" rel="stylesheet"/>
        <link href="" rel="stylesheet" media="print"/>
        <link href="" rel="stylesheet" >
        <script src=""></script>
        <script src=""></script>
        <script src=""></script>
        <div class="container">
            <div class="row">
                <div class="col-md-12 mt-5 mb-5">
                    <div id="calendar"></div>
        <script type="text/javascript">
                selectable: true,
                select: function (start, end, jsEvent, view) {
                    var allDay = !start.hasTime() && !end.hasTime();
                    console.log(["Selected Year : " + moment(start).format('YYYY')]);
                    alert(["Selected Year : " + moment(start).format('YYYY')]);

Thanks, May this example will help you...