title: Jquery DatePicker set to not auto-open
body: <pre><code>&lt;div id="newSwitchDialog"&gt;
          &lt;span id="name"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
          &lt;table&gt;
              &lt;tbody&gt;
                  &lt;tr&gt;
                      &lt;td&gt;Effective Date: &lt;/td&gt;
                      &lt;td&gt;&lt;input type="text" id="startDate" /&gt;&lt;br /&gt;&lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td&gt;End Date: &lt;/td&gt;
                      &lt;td&gt;&lt;input type="text" id="endDate" /&gt;&lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/tbody&gt;
          &lt;/table&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>When I open this dialog via a click event:</p>
  
  <pre><code>$('#yup').live('click', function () {
              $('#name').text($('#selectedSponsorName').text());
              $("#newSwitchDialog").dialog('open');
          });
  </code></pre>
  
  <p>The datepicker automatically pops open for the first input. How do I make it not do that? Only option I found was to set it to open on a button click, but I couldn't find any <code>autoOpen</code> sort of thing.</p>
  
  <p>Thanks. </p>