title: jQuery tabs, link to another tab from inside
body: <p>I have <a href="http://jqueryui.com/demos/tabs/" rel="nofollow">jQuery ui tabs</a> and I would like to be able to open a tab from a link (inside or outside the current tab or page)</p>
  
  <p>It does work if the link is in an external page and looks like this:</p>
  
  <pre><code>http://server.com/view.php?id=130#section-2
  </code></pre>
  
  <p>This correctly open the tab "section-2"</p>
  
  <p>The problem is when the link is in the same page, it does not refresh the page (as it just add the #section-2) so the tab is not selected.</p>
  
  <p>I saw some answers example using ids in the  tag and binding the click in jQuery, but I cannot use this because some of my links are computed and I don't know if they are pointing to inside or outside.</p>