title: Using GWTQuery to call Bootstrap JS collapse method
body: <p>I want to replicate this jQuery call in gQuery to open all closed Accordion panels at once:</p>
  
  <pre><code>$('.panel-collapse:not(".in")').collapse('show');
  </code></pre>
  
  <p>I have tested this on my app and it works, however I am unable to successfully implement the same logic using gQuery to call the JavaScript collapse method:</p>
  
  <pre><code>@Override
  public void onClick(ClickEvent event) {
    GQuery.$(".panel-collapse").not(".in").trigger("collapse", "show");
  }
  </code></pre>
  
  <p><strong>What is the correct way to call JavaScript methods from gQuery?</strong></p>
  
  <p>Further Info - I have successfully tested this gQuery code in my onClick method to add a test class to the affected divs - so I am certain the selector part of the above query works:</p>
  
  <pre><code>GQuery.$(".panel-collapse").not(".in, .MENU").addClass("test");
  </code></pre>