title: jQuery UI Datepicker: how to trigger onChangeMonthYear on page load?
body: <p>I'd like to have my <code>onChangeMonthYear</code> event triggered when the document is ready.</p>
  
  <p>The only solution I've found so far is the following:</p>
  
  
  
  <pre><code>$(function() {
      var $element = $('#datepicker');
      var date = new Date();
      var onChangeMonthYear = $element.datepicker("option", "onChangeMonthYear");
      onChangeMonthYear(date.getFullYear(), date.getMonth() + 1, $element);
  });
  </code></pre>
  
  <p>But that looks a bit overkill for such a simple requirement.
  Anyone with a simpler solution?</p>