title: jQuery DatePicker issue: string was not recognized as a valid DateTime
body: <p>Exception is : </p>
  
  <p>Operation failed String was not recognized as a valid DateTime.</p>
  
  <p>Here is the jQuery reference</p>
  
  <pre><code>  &lt;script src="Resource/JS/jquery-1.7.2.min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;link href="Resource/css/jquery-ui-1.8.21.custom.css" rel="stylesheet" type="text/css" /&gt;
  &lt;script src="Resource/JS/jquery-ui-1.8.21.custom.min.js" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>The function to pop-up DatePicker:
          </p>
  
  <pre><code>        function showDatePicker(datepicker) {
              var id = "#" + datepicker;
              $(function () {
                  $(id).datepicker();
              });
          }
  
      &lt;/script&gt;
  </code></pre>
  
  <p>The input component:</p>
  
  <pre><code>&lt;input id="tbActionDate" type="text" runat="server"  class="datePickerControl" clientidmode="Static"  onclick="showDatePicker('tbActionDate');" /&gt;
  </code></pre>
  
  <p>And I have tried to do it in this way: $(id).datepicker("option", "dateFormat", "mm/dd/yy");
  It doesn't work.</p>