title: jQuery Datepicker today button does not put today's date in the input box
body: <p>I need your help,</p>
  
  <p>I just added the buttonpane to my Date Picker, however it seems that when I click on the 'Today' button, what should happen is that it should select the present date and also put its value into the input box.</p>
  
  <p>What am I doing wrong?</p>
  
  <pre><code>            $("#date1").datepicker({
                  showOn: 'button',
                  buttonImage: 'images/cal.png',
                  showButtonPanel: true,
                  buttonImageOnly: true,
                  changeMonth: true,
                  changeYear: true,
                  onSelect: function() {
                      if ($(this).hasClass('invalid') == true) { $(this).removeClass('invalid') }
                      $(this).change();
                  }
  
              });//end of datepicker
  </code></pre>
  
  <p>The HTML is as follows:</p>
  
  <pre><code>&lt;input type="text" id="date1"&gt;
  </code></pre>