Skip to main content

Search and Top Navigation

#2621 closed bug (fixed)

Opened March 31, 2008 08:46AM UTC

Closed April 04, 2008 06:26AM UTC

Last modified February 26, 2009 12:03PM UTC

Unable to determine the currently selected tab

Reported by: alflow Owned by: klaus
Priority: major Milestone: 1.5
Component: ui.core Version: 1.2.3
Keywords: selected tabs Cc:
Blocked by: Blocking:

Below is the example code to get the currently selected tab.

var $tabs = $('#example').tabs();

var selected = $'selected.tabs');

Selected is undefined.

How do I find out the currently selected tab, and more importantly, the index number of the currently selected tab?

Attachments (0)
Change History (4)

Changed April 01, 2008 06:46PM UTC by paul comment:1

owner: paulklaus

Changed April 04, 2008 06:26AM UTC by klaus comment:2

resolution: → fixed
status: newclosed

That code works fine for me, although the demo was flawed, fixed in r5190

Changed May 24, 2008 03:39AM UTC by comment:3

milestone: 1.2.4

Milestone 1.2.4 deleted

Changed February 26, 2009 12:03PM UTC by paul comment:4

milestone: → 1.5