title: jQuery UI Accordion activate
body: <p>I'm not getting how to do this, or if I can do this. I have a jQuery UI Accordion, multiple sections with each section containing multiple anchor tags each with a unique string id.</p>
  
  <p>I'd like to be able to have the accordion open to where a particular element with a given id is. Like say id "item117". Can I use something like </p>
  
  <pre><code>$('#accordion').activate('activate','#item117');
  </code></pre>
  
  <p>or even</p>
  
  <pre><code>$('#accordion').activate('activate',117);
  </code></pre>
  
  <p>I've tried those and some variations but can't get it to go. In the case I was trying to get working, the accordion should've opened to the end of the second section.</p>
  
  <hr>
  
  <p>I'm still not getting this, so maybe I'm doing something else wrong as well. I've stripped it down to an example page here: <a href="http://www.ofthejungle.com/testaccordion.php" rel="nofollow noreferrer">http://www.ofthejungle.com/testaccordion.php</a>  Please have a look at it and its source.</p>