title: bootstrap datepicker today as default
body: <p>I am using this <a href="http://www.eyecon.ro/bootstrap-datepicker/" rel="noreferrer">bootstrap-datepicker</a> for my datepicker. I'd like the datepicker to choose "today" for start day or default day. 
  I cannot figure out how to set "today" automatically, so I did an inefficient way </p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;input type="text" value ="today();" id="datepicker"/&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code> $('#datepicker').datepicker();
  function today(){
      var d = new Date();
      var curr_date = d.getDate();
      var curr_month = d.getMonth() + 1;
      var curr_year = d.getFullYear();
      document.write(curr_date + "-" + curr_month + "-" + curr_year);
  }
  </code></pre>
  
  <p>Online Sample: <a href="http://jsfiddle.net/BXZk2/" rel="noreferrer">http://jsfiddle.net/BXZk2/</a></p>
  
  <p>Just looking for an easy solution to make the default day as "TODAY".</p>
  
  <p>Thanks</p>