With jQuery UI tabs, you can use the select method to run code when a tab is clicked:
$( ".selector" ).tabs({
select: function(event, ui) { ... }
});
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.
$( ".selector" ).tabs({
load: function(event, ui) { ... }
});