Hi All,

Am tinkering with tabs, and I want to know how I can check to see if
the currently selected tab is a "remote" tab or not.

For example, I have code like this:

var $tabs = $('.ui-tabs').tabs();
var selected = $tabs.tabs('option', 'selected');
$tabs.tabs('load', selected);

But not all my tabs are remote tabs... some have static content and
thus "load" is meangingless. Instead I need to reload the current
window for "static" tabs, but use "load" for ajax tabs.

So, my question is: how do I check if the selected tab is remote or
not?

// SM

--

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