title: Swagger UI - Expand Operations with JS
body: <p>I'm using swagger UI to display methods and for some reason after moving to swagger UI 2.0 my jquery click events no longer work.</p>
  
  <p>Is there a programmatic way to expand all of the operations with JS? I don't want them to be expanded on page open I just need them to expand when a certain script is run. </p>
  
  <p>This used to work but doesn't anymore:</p>
  
  <pre><code>      $('div.heading span.path a.toggleOperation').each(function (e) {
             $(this).click();         
         });
  </code></pre>
  
  <p>This also doesn't work: </p>
  
  <pre><code>      $('div.heading span.path a.toggleOperation').click();
  </code></pre>
  
  <p>No errors, it just seems to ignore my click events</p>