There are surely other ways but this will work in general.
$(".ui-tabs-nav .ui-tabs-selected")
For robustness -- say if you have more than one tab set on the page --
and also for speed I would recommend
$("#YourTabId .ui-tabs-selected")
**--** Steve
On Feb 23, 4:48 pm, AndyV <[email protected]> wrote:
> My apologies if this has been covered elsewhere but I've not been able
> to locate an answer..
>
> I have a set of tabs that are working well. The first tab represents
> a header record and the remaining tabs represent details associated
> with the header. The tab contents are filled via jquery ajax and all
> it good.
>
> Elsewhere on the page I would like to click a link and have the
> response vary based on the selected tab. Specifically, I'd like the
> dom_id of the selected tab. How can I pick that out from the tabs
> collection?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---