title: adding restriction on selecting previous date in a datepicker
body: <p>I am using asp.net code where datepicker is used to enter date. I want some code so that previous date cannot be selected and entered by the datepicker. How can I put the restriction.</p>
  
  <pre><code>    &lt;html lang="en"&gt;
       &lt;head&gt;
       &lt;meta charset="utf-8" /&gt;
       &lt;title&gt;jQuery UI Datepicker - Default functionality&lt;/title&gt;
      &lt;link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" /&gt;
      &lt;script src="http://code.jquery.com/jquery-1.9.1.js"&gt;&lt;/script&gt;
      &lt;script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"&gt;&lt;/script&gt;
      &lt;link rel="stylesheet" href="/resources/demos/style.css" /&gt;
     &lt;script&gt;
      $(function() {
       $( "#datepicker" ).datepicker();
       });
      &lt;/script&gt;
     &lt;/head&gt;
      &lt;body&gt;
  
      &lt;p&gt;Date: &lt;input type="text" id="datepicker" /&gt;&lt;/p&gt;
  
  
      &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>
  
  <p>please tell me any asp.net code</p>