title: How to make accordion panel open if it has anchor link?
body: <p>I have an accordion. I have such that if there is an anchor inside the accordion, then if there is a link with the anchor the concerned accordion panel will open.</p>
  
  <p>What I am basically asking is this.</p>
  
  <pre><code>  &lt;script&gt;
    $(function() {
      $( "#accordion" ).accordion();
    });
    &lt;/script&gt;
  
  
  &lt;div id="accordion"&gt;
    &lt;h3&gt;Section 1&lt;/h3&gt;&lt;a name="myAnchor"&gt;&lt;/a&gt;
    &lt;div&gt;
      &lt;p&gt;
      Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer
      ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit
      amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut
      odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.
      &lt;/p&gt;
    &lt;/div&gt;
    &lt;h3&gt;Section 2&lt;/h3&gt;
    &lt;div&gt;
      &lt;p&gt;
      Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet
      purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor
      velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In
      suscipit faucibus urna.
      &lt;/p&gt;
    &lt;/div&gt;
  </code></pre>