title: Jquery datepicker: validate date mm/dd/yyyy
body: <p>I have a textbox and a datepicker next to it and I am using asp.net and the user can enter the date as well select the date from datepicker. </p>
  
  <p>How would you validate if the date is entered correct?</p>
  
  <pre><code>  &lt;script type="text/javascript"&gt; 
          $(document).ready(function () { 
              $('#&lt;%=StartDate.ClientID%&gt;').datepicker({ showOn: 'button', 
                      buttonImage: '../images/Calendar.png', 
                      buttonImageOnly: true, onSelect: function () { }, 
                      onClose: function () { $(this).focus(); } 
              }); 
          }); 
      &lt;/script&gt; 
  </code></pre>