title: Jquery Tab link to another tab from content within a tab
body: <p>I'm using the JQuery tabs plugin.</p>
  
  <p>I'd like to link content within tab 1 to take me to tab 3 instead of having to click Tab 3 to get to it. How do I do this?</p>
  
  <p>@redsquare... So, i modified it based on your suggestion that way I can make all the tabs interact with each other. This change works, thanks again, so I guess I'm wondering if there's a nicer way of writing this or is this the best way?</p>
  
  <p>Demo with latest changes: <a href="http://jsbin.com/etoku3/" rel="nofollow noreferrer">http://jsbin.com/etoku3/</a></p>
  
  <pre><code>&lt;script type="text/javascript"&gt; 
      $(document).ready(function() {
          var $tabs = $("#container-1").tabs();
            $('a.tab1').click(function(){$tabs.tabs('select', 0);});
            $('a.tab2').click(function(){$tabs.tabs('select', 1);});
            $('a.tab3').click(function(){$tabs.tabs('select', 2);});
            $('a.tab4').click(function(){$tabs.tabs('select', 3);});
            $('a.tab5').click(function(){$tabs.tabs('select', 4);});
      });
  &lt;/script&gt;
  </code></pre>