title: Setting Yesterday to Jquery datepicker
body: <p>I am trying to set yesterdays day to a <code>Jquery</code> <code>datapicker</code> as follows:</p>
  
  <pre><code>$(".datepicker").datepicker("setDate", (new Date().getDate() - 1) );
  </code></pre>
  
  <p>However, I am always getting todays date. The code is located in <code>$(document).ready</code> and it does get excuted, cause if I comment out the line abobve, no value shows up.</p>
  
  <p>Could anyone point out what I am doing wrong.</p>