On Nov 12, 11:32 am, Jorge Godoy <[email protected]> wrote:
> Put a class on the remote or local ones and check to see if that class is
> present?

I can put a class on the static tabs, but the problem I'm having is
that this JS code is triggering from outside the tabs, so it doesn't
have the context of the current tab.

Anyone got a code example for a JS function asking the tabs about the
currently selected tab? I mean, I can fetch the index via:

http://docs.jquery.com/UI/Tabs#...retrieve_the_index_of_the_currently_selected_tab

var $tabs = $('#example').tabs();
var selected = $tabs.tabs('option', 'selected');

But I need more than that, I need the tab panel for the currently
selected tab.

Will keep experimenting and post my solution up here when/if I get
there :)

--

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=.


Reply via email to