title: Datepicker issue when implementing in mvc3?
body: <p>Using <code>Mvc3</code> razor.
  I tried to implement the Jquery data picker with an inputbox on my form, I am getting this exception "Microsoft JScript runtime error: Unable to set value of the property '<code>currentDay</code>': <code>object</code> is <code>null</code> or <code>undefined</code>" when I click on a date on the calendar.</p>
  
  <p><strong>Jquery</strong>:</p>
  
  <pre><code> $(document).ready(function () {           
        $(".datepicker").datepicker();
   });
  </code></pre>
  
  <p><strong>Html</strong> :</p>
  
  <pre><code>&lt;div class='answer'&gt;
    &lt;input class='datepicker' type='text' id='4' name='4' value='' /&gt;
  &lt;/div&gt;
  </code></pre>