title: FullCalendar JSON Feed not working: my calendar doesn't put the data from the JSON feed onto my webpage
body: <p>Why doesn't my calendar put the data from the JSON feed onto my webpage?</p>
  
  <pre><code>&lt;script type='text/javascript'&gt;
  $(document).ready(function() {
      var date = new Date();
      var d = date.getDate();
      var m = date.getMonth();
      var y = date.getFullYear();
      var calendar = $('#calendar').fullCalendar({
          events: 'myfeed.php',
      header: {
              left: 'prev,next today',
              center: 'title',
              right: 'month,agendaWeek,agendaDay'
          },
          selectable: true,
          selectHelper: true,
      eventSources: [
  
      // your event source
      {
          url: '/myfeed.php', // use the `url` property
          color: 'red',    // an option!
          textColor: 'black'  // an option!
      }
      // any other sources...
  ],
    eventClick: function(calEvent, jsEvent, view) {
  if (!confirm("Are you sure you want to delete this?")) {
      }
  else
  {
      // remove calender, and post the info to page 
  $.post("mybook.php", { idnumber: calEvent.id, remove: '1' } );
  $('#calendar').fullCalendar('removeEvents', [calEvent.id]);
  }
  }
      });     
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>JSON Feed PHP Code</p>
  
  <pre><code>&lt;?php    $arr = array('id' =&gt; '1', 'title' =&gt; 'Apples', 'start' =&gt; '1372530615', 'end' =&gt; '1372537615', 'allDay' =&gt; false);
  echo json_encode($arr);
  ?&gt;
  </code></pre>
  
  <p>Charles web debugger shows that the script is assessing the right page, and it has a response. But, my calendar does nothing. :( I thought it might be because I was using SSL, but I have tried both ways.</p>
  
  <p>Reduced my code to</p>
  
  <pre><code>&lt;script type='text/javascript' src='jquery-1.9.1.min.js'&gt;&lt;/script&gt;
  &lt;script type='text/javascript' src='fullcalendar.js'&gt;&lt;/script&gt;
  &lt;script type='text/javascript'&gt;
  $(document).ready(function() {
  var calendar = $('#calendar').fullCalendar({
      events: 'myfeed.php'
  });     
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>JSON Feed Output</p>
  
  <pre><code>{"id":"1","title":"Apples","allDay":false,"start":"1372507615","end":"1372537615"}
  </code></pre>