title: Begin - End datapicker dates
body: <p>I have a datapicker and i use it two times.</p>
  
  <p>I have to disable previous dates if first datapicker is initialized and give user to chose modified datapicker.</p>
  
  <p>So, i have this code :</p>
  
  <pre><code>&lt;script&gt;
  
           $(document).ready(function() {
          $( ".datapick" ).datepicker(
              {
                  minDate: 0,
                  dateFormat: 'dd-mm-yy',
  
              });
          });
  
  &lt;/script&gt;
  
  
  
  &lt;input type="text" name="start" class="datapick" placeholder="Starting date" class="datapick"&gt;
  
  
  &lt;input type="text" name="end" class="datapick" placeholder="End date" class="datapick"&gt;
  </code></pre>
  
  <p>I am using minDate to disable previous days, but i dont know if selected 24-12-2014, to disable all previous days.</p>
  
  <p>I think you get me :))</p>