Title: get the title of a tab? Post by: jpierce on July 03, 2013, 03:50:09 PM I'm trying to figure out how to get the title of a tab, for example the selected tab (though it could be any tab). There appears to be no function to do it. All I can think of is some kludge where I keep track of all the tab names independently of the tabs. Is there some other way? If not, can this be added?
Title: Re: get the title of a tab? Post by: stworthy on July 03, 2013, 06:43:19 PM To get the tab panel's title, the tab panel object should be retrieved first and then call panel's 'options' method to get its 'title' property.
Code: var p = $('#tt').tabs('getSelected'); // get the selected tab panel Title: Re: get the title of a tab? Post by: jpierce on July 10, 2013, 12:49:28 PM Thanks!
|