title: With jQuery UI tabs, how can I run code after a click on a tab?
body: <p>With <a href="http://jqueryui.com/demos/tabs/" rel="noreferrer">jQuery UI tabs</a>, you can use the select method to run code when a tab is clicked:</p>
  
  <pre><code>$( ".selector" ).tabs({
     select: function(event, ui) { ... }
  });
  </code></pre>
  
  <p>But the code is run before the just clicked tab has been loaded. I need to run code after new tab has been loaded. How can I do this? Thanks for reading. </p>