title: Fullcalendar, want to show all events on dayclick its not showing up
body: <p>I am using fullcalendar, once a user clicks on a date the events on that day should show up on the pop up.</p>
  
  <p>Currently I have the list of the events with me , I am able to show the events on that day on calendar and make it clickable.</p>
  
  <p>But now I want those events to show on dayclick which I am not able to do.</p>
  
  <p>Below code shows the events on that day on calendar:</p>
  
  <pre><code>eventClick: function(event) {
         $.colorbox({html:"&lt;h1&gt;"+event.title+"&lt;/h1&gt;&lt;br&gt;&lt;p&gt;Tour 
         starts on :"+$.fullCalendar.formatDate(event.start,
         'yyyy-M-dd')+"&lt;br&gt;Tour type :
         &lt;a href='http://reservations.valantech.com/order-
         tour/"+$.fullCalendar.formatDate(event.start,'yyyy-M-
         dd')+"/"+event.ID+"'&gt;"+event.type+"&lt;/a&gt;&lt;/p&gt;"});
  },
  </code></pre>
  
  <p>Below code open a pop up when a date is clicked:</p>
  
  <pre><code>dayClick: function(date, allDay, jsEvent, view) {
  
          if (allDay) {
              alert('Clicked on the entire day: ' + date);
          }else{
              alert('Clicked on the slot: ' + date);
          }
  
          alert('Coordinates: ' + jsEvent.pageX + ',' + jsEvent.pageY);
  
          alert('Current view: ' + view.name);
  
          // change the day's background color just for fun
          //$(this).css('background-color', 'red');
  
      },
  </code></pre>
  
  <p>Now I want to merge these two basically.</p>
  
  <p>Clicking the date should open a pop-up with a list of all available events for that date.</p>
  
  <p>I tried to do :</p>
  
  <pre><code>dayClick: function(date, allDay, jsEvent, view) {
  $('#calendar').fullCalendar('clientEvents', function(event) {
                  if(event.start &lt;= date &amp;&amp; event.end &gt;= date) {
                      return true;
                  }
                  return false;
              });
  </code></pre>
  
  <p>but it didnt worked for me.</p>