title: How do I toggle the jQuery Mobile Accordion with a button click?
body: <p>When creating a jQuery Mobile Accordion, how do I get a section of the accordion to open when a button is clicked?</p>
  
  <p>When the user clicks the search button, I want to load the results into a list in the second panel, collapse the first and expand the second.</p>
  
  <pre><code>&lt;div data-role="collapsible-set"&gt;
  
      &lt;div id="filterContainer" data-role="collapsible" data-collapsed="false"&gt;
          &lt;h3&gt;Filters&lt;/h3&gt;
          &lt;p&gt;controls to pick options&lt;/p&gt;
          &lt;a href="#" data-role="button" id="search"&gt;Search&lt;/a&gt;
      &lt;/div&gt;
  
      &lt;div id="resultsContainer" data-role="collapsible"&gt;
          &lt;h3&gt;Results&lt;/h3&gt;
          &lt;p&gt;list of results&lt;/p&gt;
      &lt;/div&gt;
  
  &lt;div&gt;
  </code></pre>