var container = $find('TabContainer1'); //your Tab container ID goes here var activeTab = container.get_activeTabIndex(); // you can continue your function after this by uing the new active tab of the tab container.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)