title: jQuery: How to set the index of the current open div in jQuery UI accordion?
body: <p>I'm trying to get a jQuery UI Accordion, with initially all divs collapsed. </p>
  
  <p>The doc says </p>
  
  <pre><code>  // getter
    var active = $('#div0').accordion('option', 'active');
    // setter
    $('#div0').accordion('option', 'active', -1);
  </code></pre>
  
  <p>Neither of these was working in v1.7.2.  The getter always returned null, and the setter had no effect. </p>
  
  <p>I found this bug: <a href="http://dev.jqueryui.com/ticket/4576" rel="nofollow noreferrer">http://dev.jqueryui.com/ticket/4576</a> , which included a fix for the getter.  </p>
  
  <p>But the setter still doesn't work. </p>
  
  <p>Anyone have a fix for the setter?</p>