title: how to deactivate past dates in jquery
body: <p>i am using jquery calendar and i want to deactivate all the past dates.
  user can only enter the current date or date that is greater than current date.
  i am using this code </p>
  
  <pre><code>&lt;!-- calendar code starts--&gt;
      &lt;link rel="stylesheet" type="text/css" href="calendar2/tcal.css" /&gt;
      &lt;script type="text/javascript" src="calendar2/tcal.js"&gt;&lt;/script&gt; 
      &lt;script type="text/javascript"&gt; 
        $("#dt").datepicker({ minDate: new Date() });
       &lt;/script&gt; 
  &lt;!-- calendar code ends--&gt;
  
  html code
  &lt;div&gt;&lt;input type="text" id="dt" name="requireddate" 
  class="tcal" value="&lt;?php echo $rec5['requireddate']; ?&gt;" /&gt; &lt;/div&gt;
  </code></pre>
  
  <p>but the above code is not working..it shows all past dates</p>
  
  <p>i am using this calendar <code>http://www.softcomplex.com/products/tigra_calendar/</code></p>