title: How to find monthview or week view or day view in full calendar
body: <p>I am using full calendar. here my question is how to find the fullcalendar is in month view, week view or day view in format when clicking prev button or next button clicking function. here am calling custom code for next and prev buttons. because using this I want to fire some custom data. based on fullcalendar view.</p>
  
  <pre><code> $(document).on('click', '.fc-button-next a span', function () {
  </code></pre>
  
  <blockquote>
    <p><strong><em>here I want to find the view of full calendar which is in month or week or day</em></strong></p>
  </blockquote>
  
  <pre><code>       var abc = $("#calendar").fullCalendar('getView').start.toString();
         var MonthVal = getMonthValue(abc);
         var YearVal = getYearValue(abc);
  
         $('#calendar').fullCalendar('destroy');
  
         dataString = "{ID:" + MonthVal + "," + "year:" + YearVal + "}";
  
         DisplayCalendarForMonth(dataString, MonthVal, YearVal);
     });
     $(document).on('click', '.fc-button-today a span', function () {
  </code></pre>
  
  <blockquote>
    <p><strong><em>here I want to find the view of full calendar which is in month or week or day</em></strong></p>
  </blockquote>
  
  <pre><code>       $('#calendar').fullCalendar('destroy');
         DisplayCalendar();
     });
  </code></pre>