Open FullCalendar Onselect date on datepicker

·

,
fullcalendar

Hello to all, welcome to therichpost.com. In this post, I will tell you, How to Open FullCalendar Onselect date on datepicker? fullcalendar is the best A JavaScript event calendar. Customizable and open source.
I am sharing this post because I personally like this trick very much that is why.

datepicker-with-fullcalendar

Here is the working code for Open FullCalendar Onselect date on datepicker:
$(".fc-datepicker").datepicker({
    dateFormat: 'yy-mm-dd',
    onSelect: function(dateText) 
   {
       $('#fullCalendar').fullCalendar('gotoDate', this.value);
   }
 });

 There are so many tricks in fullcalendar and I will let you know all. Please do comment if you any query related to this post. Thank you. Therichpost.com

Comments

6 responses to “Open FullCalendar Onselect date on datepicker”

  1. Pavel Ivanov Avatar
    Pavel Ivanov

    Please explain in more detail how to use this code. Thank you

    1. therichpost Avatar

      Hi, Pavel Ivanov, it is simple, when we select date in datepicker then fullcalendar will be open with that date. I have just show that code only.
      🙂
      Thank you

      1. paulo Avatar
        paulo

        and when we select date in fullcalendar then datepicker will open with that date

        1. therichpost Avatar

          yes we can do that as well.

  2. Megha Avatar
    Megha

    Please tell me about how to make year view.

    1. Ajay Malhotra Avatar

      You want to show all the months same time?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.