title: jQuery target anchor tags inside unactive tabs
body: <p>I am working on a restaurant deliver website and am trying to figure out how I can target anchor tags that are inside a tab from other tabs, for example, the main tabs would be: Menu, Info, Reviews, but then inside the menu tab I want to have a submenu that lists food types (Appetizers, entrees, ect...) Ideally I'd like them to all be visible at once and if for instance you clicked from Reviews to Desserts you would go into the Menu tab to the dessert anchor.</p>
  
  <pre><code>&lt;ul class='tabs'&gt;
  &lt;li&gt;&lt;a href='#tab1'&gt;Menu&lt;/a&gt;&lt;/li&gt;
      &lt;ul class="submenu"&gt;
         &lt;?php foreach ($contents as $header_id =&gt; $item_array): ?&gt;
         &lt;li&gt;
            &lt;a href="#&lt;?php echo $item_array[0]["content"] ?&gt;"&gt;&lt;?php echo $item_array[0]["content"] ?&gt;&lt;/a&gt;
         &lt;/li&gt;
        &lt;?php endforeach; ?&gt;
      &lt;/ul&gt;
  &lt;li&gt;&lt;a href='#tab2'&gt;Info&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href='#tab3'&gt;Reviews&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>