title: Disable past dates in javascript datepicker (asp.net)
body: <p>Can someone teach me how to disable dates in my js datepicker.</p>
  
  <pre><code> &lt;script type="text/javascript"&gt;
  
  
  
          $('.dateapick').fdatepicker({
  
              TodayHighlight: true,
              format: 'mm/dd/yyyy',
              disableDblClickSelection: true,
              leftArrow: '&lt;&lt;',
              rightArrow: '&gt;&gt;',
          });
  </code></pre>
  
  <p>Here's my datepicker (JS)</p>
  
  <pre><code>&lt;asp:Textbox  runat="server" ID="txtStartDate"   OnTextChanged="txtStartDate_TextChanged" onchange="subtractDate(this.Id)" placeholder="MM/dd/yyyy" AutoPostBack="true"  Enabled="true"  CssClass="form-control pickadate"&gt;&lt;/asp:Textbox&gt; 
  </code></pre>
  
  <p>and this is the front where i use my date.</p>