You should ask that on jQuery UI group. I've never used the tabs. If you can get a variable to be a pointer to the currently selected tab with: var selectedTab = somthing you should then be able to do: selectedTab.find('#columns > .column').length
The problem with the expression you are currently using is that it is looking for the columns all over the document. 2009/8/17 lionel28 <lmarte...@haitiwebs.net>: > > > You totally confuse me here. How do I know a tab is selected? When I click on > it. All tabs have the same class > > ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header > ui-corner-all"> > > -- > View this message in context: > http://www.nabble.com/Interaction-in-tabs-tp25009915s27240p25010286.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com. > >