title: Output array to multiple inputs
body: <pre><code>getDate: function(formated) {
                  if (this.size() &gt; 0) {
                      return prepareDate($('#' + $(this).data('datepickerId')).data('datepicker'))[formated ? 0 : 1];
                  }
              }
  </code></pre>
  
  <p>In this part I'm creating the array</p>
  
  <p>now with this part I'm getting the array to the input</p>
  
  <pre><code>onChange: function(formated, dates){
      $('#outDate').val(formated);
  } 
  </code></pre>
  
  <p>output is somthing like this:</p>
  
  <blockquote>
    <p>09 May 2014,24 May 2014</p>
  </blockquote>
  
  <p>now I'm willing to get </p>
  
  <p>the first of the array to <code>&lt;input class="inputDate" id="checkin" /&gt;</code>
  and the next one to <code>&lt;input class="inputDate" id="outDate" /&gt;</code></p>
  
  <p>so the output needs to be </p>
  
  <p>09 May 2014 in the <em>checkin</em> and 24 May 2014 in the <em>checkout</em> </p>
  
  <p>how to do this? </p>