Reputation:
How to retrieve all tab names or labels without selecting tab in jQuery?
I need this to validate tab name/label length.
Upvotes: 0
Views: 1459
Reputation: 17554
If you're using jquery tabs then
$('.ui-tabs-nav li')
should give you all the tab list elements.
$('label')
should give you all the lables on the page.
Upvotes: 2