title: Update Input with select in CakePHP and FullCalendar
body: <p>Hey all,
  I'm making a booking calendar for a rental house and I'm trying to make a selectable calendar update two form fields after selection.  I want users to be able to drag across available days and populate the start and end date of my form.  This is what I have so far:</p>
  
  <pre><code>&lt;script type='text/javascript'&gt;
      $(document).ready(function() {
          $('#calendar').fullCalendar({
              events: "bookings/feed",
              selectable: true,
              unselectAuto: false,
              select: function(startDate, endDate, allDay, jsEvent, view) {
                  **I just don't know what to put here to edit the inputs bolded below**
  
              }
          });
      });
  &lt;/script&gt;
  &lt;div style="width: 500px;"&gt;&lt;div id="calendar"&gt;&lt;/div&gt;&lt;/div&gt;
  &lt;div id="eventdata"&gt;&lt;/div&gt;
  &lt;div id="form"&gt;
      &lt;?php echo $form-&gt;create('Booking'); ?&gt;
      **&lt;?php echo $form-&gt;input('start', array( 'label' =&gt; 'Check In:', 'type' =&gt;'text')); ?&gt;
      &lt;?php echo $form-&gt;input('end', array( 'label' =&gt; 'Check Out:', 'type' =&gt;'text')); ?&gt;**
      &lt;?php echo $form-&gt;input('firstName'); ?&gt;
      &lt;?php echo $form-&gt;input('lastName'); ?&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>Cheers!</p>