title: jquery accordion activate does not work
body: <p>I have a <code>accordion</code> like this</p>
  
  <pre><code>&lt;div id="accordion"&gt;
      &lt;h3 id="idname1"&gt;text&lt;/h3&gt;
      &lt;div&gt;
          Text TEXT text
      &lt;/div&gt;
      &lt;h3 id="idname2"&gt;text&lt;/h3&gt;
      &lt;div&gt;
          Text TEXT text
      &lt;/div&gt;
      &lt;h3 id="idname3"&gt;text&lt;/h3&gt;
      &lt;div&gt;
          Text TEXT text
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Now i want the people to click a link (on the top of the page) and then that panel will open
  en people will see it now every time i call my function</p>
  
  <pre><code>$('.myclass').click(function() {
      // this is to open the right pannel 
      var getal = $(this).attr('id');
      alert(getal); // i get the right name
  
      $("#accordion").accordion('activate', 1);
  });
  </code></pre>
  
  <p>my console gives me this error </p>
  
  <blockquote>
    <p>Error: no such method 'activate' for accordion widget instance</p>
  </blockquote>
  
  <p>i do not know what the problem is i have tried many different things but none worked.</p>