JQuery Tabs: How to get a list of the tab titles

Posted by user340254 on Stack Overflow See other posts from Stack Overflow or by user340254
Published on 2010-05-13T12:44:46Z Indexed on 2010/05/13 13:04 UTC
Read the original article Hit count: 276

Filed under:
|

As the title suggest, my question is what is the best way to get or build a list of the titles for the set of tabs. I was thinking I would have to build the list in a for loop, but there does not appear to be any 'name' or 'title' property where you could do something like this:

var $tabs = $('contentContainer').tabs();
$tabs.tabs( 'title', index );

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about tabs