title: HasDatepicker class added automatically
body: <p>My datepicker is not shown when I click the textbox.
  My code:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;meta name="viewport" content="width=device-width" /&gt;
      &lt;title&gt;Picker&lt;/title&gt;
      &lt;script src="~/Scripts/jquery-2.2.4.js"&gt;&lt;/script&gt;
      &lt;script src="~/Scripts/jquery-ui-1.8.20.js"&gt;&lt;/script&gt;
      &lt;link rel="stylesheet" href="~/Content/themes/base/jquery-ui.css" /&gt;
      &lt;script type="text/javascript"&gt;
          $(document).ready(function () {
              $("#MyTextbox").datepicker();
          });  
      &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div&gt;
          Birth date &lt;input type="text" name="MyTextbox" id="MyTextbox" /&gt; 
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When I use F12 in the browser I see that a class "hasDatepicker" has been added automatically. Is this related? Why the datepicker is not shown?</p>