title: Jquery datetime picker plugin?
body: <p>I am using this plugin:</p>
  
  <p><a href="http://tedserbinski.com/jcalendar/index.html" rel="nofollow noreferrer">http://tedserbinski.com/jcalendar/index.html</a></p>
  
  <p>The plugin is supposed to accept a user defined startdate, but I cant manage to get it to work. </p>
  
  <p>This is the header of the js file:</p>
  
  <p>var _drawCalendar = function(dateIn, a, day, month, year) {</p>
  
  <pre><code>  var today = new Date();
  
  
      if (dateIn == undefined) {
          // start from this month.
          d = new Date(today.getFullYear(), today.getMonth(), 1);
          year.val(today.getFullYear());
          month.val(today.getMonth()+1);
          day.val(today.getDate());
  
      }
      else {
          // start from the passed in date
          d = dateIn;
        d.setDate(1);
      }
  </code></pre>
  
  <p>And i am calling the calendar plug with the following line, that actually is missing something. I have tried hundreds of diffrent code snippets, but I have gived up :(</p>
  
  <p>$('fieldset.jcalendar').jcalendar();</p>
  
  <p>Best regards, Joakim</p>