title: jQuery DatePicker is not changing month/year when used inside a userscript
body: <p>I figured out how to show the month and year dropdown boxes but nothing happens when I select them. Basically if you select a new month/year it should change to that new month/year.  I'm sure I'm doing something wrong but here is what I've got so far:</p>
  
  <pre><code>$("input[name=myDate]").datepicker({
          changeMonth: true,
          changeYear: true,
          showButtonPanel: false,
          dateFormat: 'm/d/yy'
  );
  </code></pre>
  
  <p>The alert isn't even firing.  Any help is appreciated.</p>
  
  <p><em><strong>Update:</em></strong> </p>
  
  <p>I've added below the code someone gave me that I need to use in order to make the date selection fire.  If I don't use this code then when I select a day it doesn't go into the text box.  Maybe this is affecting the month/year selection?</p>
  
  <pre><code>$("input[name=myDate]").click(function () {
      setTimeout(cleanUpCrappyEventHandling, 100);
  });
  
  function cleanUpCrappyEventHandling() {
      var nodesWithBadEvents = $(
          "div.ui-datepicker td[onclick^='DP'], div.ui-datepicker a[onclick^='DP']"
      );
      nodesWithBadEvents.each(function () {
          var jThis = $(this);
          var fubarFunc = jThis.attr("onclick");
  
          /*--- fubarFunc will typically be like:
          DP_jQuery_1325718069430.datepicker._selectDay('#pickMe',0,2012, this);return false;
          */
          fubarFunc = fubarFunc.replace(/return\s+\w+;/i, "");
  
          jThis.removeAttr("onclick");
          jThis.click(function () {
              eval(fubarFunc);
              cleanUpCrappyEventHandling();
          });
      });
  }
  </code></pre>
  
  <p>Thanks!</p>