title: Start Date and End Date in Bootstrap
body: <p>I am using Bootstrap DatePicker. I want to Validate <strong>From Date</strong> and <strong>To Date</strong> . Start Date correctly Pick todays date.I have a Problem " To Date does not Pick the start date(ie. from date value)" .How to solve it?</p>
  
  <pre><code>  $(document).ready(function() {
      $('#fromDate').datepicker({
          startDate: new Date(),
      });
  
      $('#toDate').datepicker({
          startDate: $('#fromDate').val(),
      });
   });
  </code></pre>