title: javascript Datepicker Popup Calendar not working in MVC
body: <p>I am working on  <strong>MVC</strong> project , I want to use the <strong>date picker</strong> popup calendar. But it is not working. Here is my code:</p>
  
  <pre><code>&lt;script&gt;
      $(document).ready(function () {
          $('#datetimepicker').datetimepicker({
              yearOffset: -15, 
              lang: 'en',
              timepicker: false,
              format: 'm/d/Y',
              formatDate: 'Y/m/d',
              // minDate: '1940/01/02', // yesterday is minimum date
              // maxDate: '2000/01/02' // and tommorow is maximum date calendar
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>VIEW</p>
  
  <pre><code>&lt;div class="col-md-3"&gt;
      &lt;label class="control-label" style="font-family:Arial, Helvetica, sans-serif; font-size:13px;margin-top:6px;"&gt;
          Date Of Birth&lt;b style=" color:#ff0000;"&gt;*&lt;/b&gt;
      &lt;/label&gt;
  &lt;/div&gt;
  &lt;div class="col-md-3" style="left:-25px;"&gt;
      @Html.TextBoxFor(a =&gt; a.DOB, new { Class = "form-control ", placeholder = "Date of Birth", id = "datetimepicker", TextMode = "date", value = "01/11/1989", maxlength = "20", style = "width:175px;height:25px;font-size:small;" })
      @Html.ValidationMessageFor(a =&gt; a.DOB)
  &lt;/div&gt;
  </code></pre>