title: How to get a datepicker for Html.Editorfor
body: <p>On my MVC3 razor page  I have a date field   </p>
  
  <pre><code>@Html.EditorFor(model =&gt; model.Member.Dob)
  </code></pre>
  
  <p>Given below is the code I am trying to get a datepicker for the Date of Birth field.</p>
  
  <pre><code>&lt;script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"&gt;&lt;/script&gt;
  &lt;link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/&gt;
   &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"&gt;&lt;/script&gt;
   &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"&gt;&lt;/script&gt;
   &lt;script type="text/javascript"&gt;
        $(document).ready(function () {
            debugger;
            $("#Member_Dob").datepicker();
        });
    &lt;/script&gt;
  </code></pre>
  
  <p>But when I run this page  I am getting error  </p>
  
  <pre><code>Microsoft JScript runtime error: Object doesn't support property or method 'datepicker' 
  </code></pre>
  
  <p>Please help me find a way  to add datepicker to my page</p>