title: jQuery UI datepicker - IE issue when using year/month dropdowns
body: <p>I have recently encountered a problem in IE, using the jQuery UI datepicker script:</p>
  
  <ol>
  <li><p>Load up a page with a datepicker on it, showing both the year and month dropdowns.</p></li>
  <li><p>Select a date (this works fine first time).</p></li>
  <li><p>Open the datepicker again, but this time, when you click on one of the year/month dropdown lists, it appears briefly and then disappears, requiring a second click to get it to appear correctly.</p></li>
  </ol>
  
  <p>I have a small test page (see below) and have tested this using jQuery 1.4.4 and jQuery UI 1.8.10 (my production configuration) and jQuery 1.5.2 and jQuery UI 1.8.12 and been able to reproduce it in both cases (using IE9 and also in IE6).</p>
  
  <pre><code>&lt;head&gt;
  &lt;script type="text/javascript"&gt;
  
      $(document).ready(function () {
  
          $("#testDate").datepicker({changeYear:true, 
                      changeMonth:true, 
                      constrainInput:true, 
                      buttonText:'Choose', 
                      showOn:'both', 
                      showButtonPanel:false, 
                      buttonImageOnly:true});
      });
  
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;h2&gt;Test&lt;/h2&gt;
      &lt;input type="text" id="testDate" /&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>I've been trying to debug through the minified script that I have to see where this is happening, but I'm at a loss as to what is causing it.</p>